2011-08-11 3 views
2

다른 행의 각 매개 변수와 함께 레이아웃 매개 변수를 생성하려면 Eclipse를 구성 할 수 있습니까? 즉 :다중 행 (안드로이드)의 레이아웃 매개 변수

<LinearLayout 
xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:id="@+id/linearLayout1" 
android:orientation="vertical"> 
</LinearLayout> 

보다는 사전에

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/linearLayout1" android:orientation="vertical"> 

감사

답변

4

당신이 할 수있는 예, 나는이에게 자신을 미워하고 :-)

이클립스> 창> 환경 설정을 사냥 선호했다 > XML> XML 파일> 편집기

'새 속성에 여러 속성 나누기'가 있습니다. 당신은 당신이 그것을 포맷 할 때 지금

Preferences

를 원하는 오프라인은 'Ctrl + A를 다음 Ctrl + Shift + F (이 당신의 XML 포맷됩니다) (모두 선택)

관련 문제