Can't resize a RelativeLayout inside a ScrollView to fill the whole screen

后端 未结 1 1331
傲寒
傲寒 2020-12-23 16:11

I am having a weird issue that I am not sure how to fix. I have a RelativeLayout inside a ScrollView and this scrollView has it\'s height set to fill_parent. So does the Rel

1条回答
  •  孤城傲影
    2020-12-23 16:59

    I have faced this problem before. Just Use android:fillViewport="true" in your scrollview and it will fill up the screen.

     
    

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