2014-02-06 92 views

回答

1

TableLayout延伸LinearLayout,所以你可以定义你TableRows这样:

<TableRow xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="match_parent" 
    android:layout_height="0" 
    android:layout_weight="1"/>