If I don't include a background in my root layout then everything renders as I expect:
However, if I add JUST ONE LINE adding in a background then the layout goes completely haywire:
The relevant bit of the XML layout is:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width ="fill_parent"
android:layout_height="fill_parent"
android:paddingRight ="20dip"
android:paddingLeft ="20dip"
android:gravity ="center_vertical"
android:background ="@drawable/main_background">
Quite literally the only difference between the above two screenshots is the inclusion of android:background="@drawable/main_background"
. I'll give you a cookie if you can help me out here :)