LinearLayout not expanding inside a ScrollView
解决问题链接:
http://stackoverflow.com/questions/2599837/linearlayout-not-expanding-inside-a-scrollview
Found the solution myself in the end. The problem was not with the LinearLayout
,
but with the ScrollView
(seems weird, considering the fact that the ScrollView
was expanding, while the LinearLayout
wasn't).
The solution was to use android:fillViewport="true"
on the ScrollView
.