Android - how to make a scrollable constraintlayout?

前端 未结 17 1709
故里飘歌
故里飘歌 2020-11-30 19:46

I want to make a layout that lets me scroll down using constraint layout, but I don\'t know how to go about it. Should the ScrollView be the parent of the

17条回答
  •  臣服心动
    2020-11-30 20:18

    There is a bug in version 2.2 that makes it impossible to scroll the ConstraintLayout. I guess it still exists. You can use LinearLayout or RelativeLayout alternatively.

    Also, check out: Is it possible to put a constraint layout inside a ScrollView.

提交回复
热议问题