2011-08-11 6 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

することができますはい、私はこの自分自身を憎んだと:-)

Eclipseの[ウィンドウ]> []> [Preferences]を狩り好みを行ってきました> XML> XMLファイル>エディタ

「複数の属性をそれぞれ新しいlに分割するあなたはそれをフォーマットしたい場合、あなたが今

Preferences

をしたい伊根」、CTRL + A(すべて選択)し、Ctrl + Shiftキー+ F(これはあなたのXMLをフォーマットします)