Android: How do I prevent the soft keyboard from pushing my view up?

后端 未结 28 1685
南笙
南笙 2020-11-22 05:10

I have a vertical sliding drawer at the bottom of my app. When the soft keyboard opens, it pushes the tab for the drawer up, so it sits atop the keyboard. I actually want it

28条回答
  •  庸人自扰
    2020-11-22 06:07

    Well i have watched these answers but in my case i fell into the same issue and got refuge through a very handy and easiest solution that involves putting a very small innocent attribute in your Scrollview tag residing in your xml file. That is

    android:isScrollContainer="false"
    

    Good luck!

提交回复
热议问题