0
我有一個表格視圖,裏面有一些空的按鈕。當我運行我的應用程序時,所有按鈕都擠在頂部。我該如何強制桌子佔據整個屏幕區域?如何強制一個tableview使用所有的屏幕空間?
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TableRow
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<Button
android:id="@+id/button1"
/>
</TableRow>
我的佈局實際上是相當大的,所以這只是它的
你試圖創建什麼樣的佈局?可能的快照請 – 2012-07-16 14:03:25
發佈您的代碼。 – 2012-07-16 14:03:50
也發佈XML佈局。 – 2012-07-16 14:04:34