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

前端 未结 10 1340
予麋鹿
予麋鹿 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:32

    In my case NestedScrollView worked instead of ScrollView.

    Following is the snippet of my working layout: Please make sure that you haven't make any childview height to match parent(0 dp) inside constrianlayout also for scroll view android:fillViewport="true;

    Ask me if any doubt Occur.

    
    
            
    

提交回复
热议问题