Android的窗口软输入模式 [英] android Window Soft Input Mode
本文介绍了Android的窗口软输入模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序,我需要使用的EditText。但是,我与它的问题。在一些固件(冰淇淋三明治为例)时的EditText用户点击,键盘推动整个画面了!我想将其关闭。
In my app, I need to use EditText. But i have a problem with it. On some firmwares (Ice cream sandwich for example) when user click on edittext, keyboard pushes whole screen up! I want to turn it off.
我尝试添加机器人:windowSoftInputMode =adjustResize。什么都没有改变。
I tried to add android:windowSoftInputMode="adjustResize". Nothing changed.
请帮助我。
推荐答案
尝试
android:windowSoftInputMode="adjustPan"
这是为你完美的作品。
这篇关于Android的窗口软输入模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文