こんにちはAndroidの専門家、画面上に水平方向にスペースがない場合は、次に垂直方向に使用できるスペースに移動しますか?
は、私は次のようなレイアウトを持っている:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal">
<ImageButton android:id="@+id/ImageButton01"
android:layout_width="80px"
android:layout_height="80px"
android:background="@drawable/projects_badge"
android:layout_margin="10px"/>
<ImageButton android:id="@+id/ImageButton02"
android:layout_width="80px"
android:layout_height="80px"
android:background="@drawable/projects_badge"
android:layout_margin="10px"/>
<ImageButton android:id="@+id/ImageButton01"
android:layout_width="80px"
android:layout_height="80px"
android:background="@drawable/projects_badge"
android:layout_margin="10px"/>
<ImageButton android:id="@+id/ImageButton02"
android:layout_width="80px"
android:layout_height="80px"
android:background="@drawable/projects_badge"
android:layout_margin="10px"/>
<ImageButton android:id="@+id/ImageButton01"
android:layout_width="80px"
android:layout_height="80px"
android:background="@drawable/projects_badge"
android:layout_margin="10px"/>
<ImageButton android:id="@+id/ImageButton02"
android:layout_width="80px"
android:layout_height="80px"
android:background="@drawable/projects_badge"
android:layout_margin="10px"/>
</LinearLayout>
このレイアウトの画像ボタン画面の外に出ると見えなくなります。私は新しい行から始めたいと思います。
ご協力いただければ幸いです。
ありがとうございます。 :)
[この質問](http://stackoverflow.com/questions/549451/line-breaking-widget-layout-for-android)の最初の回答はおそらくあなたを助けることができますか? – scessor
@scessorありがとう、これは私が探していたものです。私は本当にありがとうございます:D –