私の既存のコードには、同じ行に水平方向に整列する 3 つのボタンがありますが、これらのボタンを別々の行に表示したいと考えています。
既存のレイアウト...
[------] [-------] [-------]
念願のレイアウト...
[------]
[-------]
[-------]
<TableLayout
android:id="@+id/buttonTableLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:stretchColumns="0,1,2" >
<TableRow
android:id="@+id/tableRow0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
</TableRow>
<TableRow
android:id="@+id/tableRow1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
</TableRow>
<TableRow
android:id="@+id/tableRow2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
</TableRow>
</TableLayout>