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

后端 未结 5 1841
情书的邮戳
情书的邮戳 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:49

    I found that if I had set layout parameters on my scroll view, then it would not work. As soon as a removed the layout parameters it worked as expected. I can't explain why, just letting others know what worked for me.

提交回复
热议问题