LinearLayout minHeight not working with weigth="1" LinearLayout minHeight not working with weigth="1" xml xml

LinearLayout minHeight not working with weigth="1"


Add android:layout_weight="1" to the ListView as well.Change them both (list & linearMe) android:layout_height attribute to "match_parent"Remove `minHeight.

That way each View will take half of the screen.`


You might want to try your spacer layout using "View" instead of "LinearLayout". The ViewGroup classes sometimes handle layouts slightly differently.