How to force a tableview to use all screen space?

joeyj

New Member
I have a table view, with some empty buttons in it. When I run my app, all the buttons are crammed into the top. How do I force the table to take up the whole screen area?\[code\]<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>\[/code\]My layout is actually quite large, so this is just a sample of it
 
Back
Top