How to make the linearlayout in scrollview to fill the whole area How to make the linearlayout in scrollview to fill the whole area android android

How to make the linearlayout in scrollview to fill the whole area


You need set fillViewport:

<ScrollView    android:id="@+id/scrollView1"    android:background="#000000"    android:layout_width="match_parent"    android:fillViewport="true" <!-- here -->    android:layout_height="match_parent" >    ... </ScrollView>

information