Hey. So this is what I want. TextBox at top - followed by 2x table rows at the top of the screen. Then a further table row at the very bottom of the screen. I have written up my xml correctly I think - however the behaviour is that the table row I want on the bottom of the screen is actually sitting just underneath the top 2 which is wrong. This is the code: Code (Text): <?xml version="1.0" encoding="utf-8"?> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" /> <FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" > <LinearLayout android:id="@+id/llStat" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:id="@+id/txtStat" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0" android:text="this is the stat tab." /> <TableLayout android:id="@+id/barHolder" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="top"> <TableRow> <net.sparktank.quilage.client.android.gui.elements.QBar android:id="@+id/xpBar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" /> </TableRow> <TableRow> <net.sparktank.quilage.client.android.gui.elements.QBar android:id="@+id/energyBar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" /> </TableRow> <TableRow> <ImageView id="@+id/goldCoin" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/coin" /> <TextView android:id="@+id/goldCoinTxt" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0" android:text="Coins" /> </TableRow> </TableLayout> <TableLayout android:id="@+id/tlStat" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="bottom"> <TableRow> <net.sparktank.quilage.client.android.gui.elements.QButton android:id="@+id/cmdUpdateNow" android:layout_width="73px" android:layout_height="73px" android:layout_weight="1" android:text="@string/gui_btn_updatenow" /> <net.sparktank.quilage.client.android.gui.elements.QButton android:id="@+id/cmdStartStop" android:layout_width="73px" android:layout_height="73px" android:layout_weight="1" android:text="@string/gui_btn_start" /> </TableRow> </TableLayout> </LinearLayout> <ScrollView android:id="@+id/scrollAct" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:id="@+id/txtAct" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="this is the activity tab." /> </ScrollView> <LinearLayout android:id="@+id/llNear" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:id="@+id/txtNear" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:text="this is the tab that shows near stuff." /> <Button android:id="@+id/cmdNearRefresh" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/gui_btn_near_refresh" /> </LinearLayout> <LinearLayout android:id="@+id/llStuff" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <ScrollView android:id="@+id/scrollStuff" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" > <TextView android:id="@+id/txtStuff" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:text="this is the stuff tab." /> </ScrollView> <Button android:id="@+id/cmdStuffRefresh" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/gui_btn_stuff_refresh" /> </LinearLayout> <LinearLayout android:id="@+id/llLog" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <ScrollView android:id="@+id/scrollLog" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" > <TextView android:id="@+id/lblLog" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/hello" /> </ScrollView> <Button android:id="@+id/cmdLogDump" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/gui_btn_logdump" /> </LinearLayout> </FrameLayout> </LinearLayout> </TabHost> The portion I am referring to is the bit with the textView : TextView android:id="@+id/txtStat" Please help - this is really annoying me!