Why doesn't android:windowSoftInputMode=“stateVisible|adjustResize” adjust the screen when soft keyboard is shown?

后端 未结 5 1837
情书的邮戳
情书的邮戳 2021-01-03 03:02

I can\'t seem to make the android:windowSoftInputMode=\"stateVisible|adjustResize\" option work. When the soft keyboard shows, the scroll view doesn\'t automatically scroll

5条回答
  •  無奈伤痛
    2021-01-03 03:59

    In Manifest:

    android:windowSoftInputMode="adjustPan|stateVisible"
    

    In layout xml bottom of all child layout of scrollview set one textview, such as

      
         
            .
            .
            .
           
           
    
    

提交回复
热议问题