画面の下部、レイアウトの他のビュー要素の下に 2 つのボタンを持つ TableRow を配置しようとしていますが、そこに配置すると、TableRow が画面から消えます。上でも真ん中でも問題ありません。
私は多くのlayout_gravity、gravity、weightの組み合わせを試していましたが、それを得ることができません.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:gravity="center_horizontal"
android:text="@string/traza"
android:layout_margin="10sp"/>
<TableRow
android:id="@+id/tableRow8"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="3sp"
android:gravity="center"
android:weightSum="2" >
<Button
android:id="@+id/reiniciar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_margin="5sp"
android:background="@drawable/bordebutton"
android:text="@string/reiniciar" />
<Button
android:id="@+id/comprobar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_margin="5sp"
android:background="@drawable/bordebutton"
android:text="@string/comprobar" />
</TableRow>
<android.gesture.GestureOverlayView
android:id="@+id/gestures"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fadeEnabled="true"
android:fadeOffset="3000"
android:gestureStrokeType="multiple"
android:eventsInterceptionEnabled="true"
android:orientation="vertical"/>
</LinearLayout>