[英]Android keyboard on top of layout
I want the soft keyboard to be overtop of my layout, not move my layout around when it pops up. 我希望软键盘在我的布局上方,而不是在弹出时不移动布局。 How do I do this?
我该怎么做呢? I looked in my manifest and i never set android:windowSoftInputMode="adjustResize"
我查看了清单,但从未设置android:windowSoftInputMode =“ adjustResize”
Also, I have several other activities that are almost identical, but work properly. 此外,我还有其他几项活动几乎相同,但工作正常。
I just fixed a situation with only a RecyclerView in the layout. 我只是解决了在布局中仅使用RecyclerView的情况。 The default behaviour was adjustResize
默认行为是AdjustResize
android:windowSoftInputMode="adjustNothing"
did the trick 做到了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.