Android ScrollView set height for displayed content

后端 未结 4 1574
我寻月下人不归
我寻月下人不归 2021-02-19 07:56

I\'m having a lot of trouble trying solve the issue of having a static height scrollable area within a layout. I have three long lists that need to be displayed on the same scre

4条回答
  •  抹茶落季
    2021-02-19 08:59

    What you need is a maxHeight. But since views do not support it, you have to use a workaround.

    Check out this answer:

    https://stackoverflow.com/a/13811461/770467

提交回复
热议问题