Inside a ScrollView I have a LinearLayout. The LinearLayout can be as tall as it wants, but I want its minimum height to be at least as tall as its parent (the ScrollView).
<ScrollView
...>
<LinearLayout
...
android:layout_marginTop="@dimen/some_margin"
android:minHeight="match_parent">
This does not work. It won't accept "match_parent"
for minHeight
. So how do I approach this?