Scrollview inside constraint layout does not scroll to the bottom of the parent constraint

前端 未结 10 1369
予麋鹿
予麋鹿 2020-12-03 02:34

I have a form which has around 12/13 fields. I used a Scrollview inside a constraint layout. Below is the hierarchy of the XML layout. The problem is, it doesn\

10条回答
  •  情书的邮戳
    2020-12-03 03:26

    I have resolve this issue. Inside ScrollView you can not use constraint Layout. for using constrain inside scroll u have to use Relative layout is parent of constraint Layout..

    so ur sequence should be:

    ScrollView ---> Relative Layout ---> Constraint Layout

提交回复
热议问题