У меня есть TableLayout примерно с 3 строками. Я хотел бы, чтобы высота последней строки заполнила остальную часть представления, но мне не очень повезло (поскольку работа с макетами Android - это урок бесполезности). Это то, что у меня есть до сих пор:
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="*" >
<TableRow android:padding="5dip">
<TextView
android:text="Row 1"
/>
</TableRow>
<TableRow android:padding="5dip">
<TextView
android:text="Row 2"
/>
</TableRow>
<TableRow android:padding="5dip" android:layout_height="fill_parent">
<TextView
android:text="Row 3"
/>
</TableRow>
</TableLayout>