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

后端 未结 1 512
一生所求
一生所求 2020-12-29 04:16


        
相关标签:
1条回答
  • 2020-12-29 04:57

    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

    0 讨论(0)
提交回复
热议问题