TableLayout
extends LinearLayout
, so you can just define your TableRows
as such:
<TableRow xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="0"
android:layout_weight="1"/>