XML Drawable not expanded to View size, or View not inheriting its parent's height correctly, on Android API < 11
Consider the following layout: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/bg1" > <View android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/bg2" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <!-- some views here --> </LinearLayout> </FrameLayout> I'm using it to have bg2 on top of bg1 while bg2 remains completely independent, such that I