Android - how to make a scrollable constraintlayout?

前端 未结 17 1712
故里飘歌
故里飘歌 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:33

    Take out bottom button from the nestedscrollview and take linearlayout as parent. Add bottom and nestedscrollview as thier children. It will work absolutely fine. In manifest for the activity use this - this will raise the button when the keyboard is opened

    android:windowSoftInputMode="adjustResize|stateVisible"
    
    
    
    
        
    
            
    
                
    
                    
    
                
    
            
    
        
    
        

提交回复
热议问题