Is there a way to disable the "keyboard

Is there a way to disable/hide this keyboard-dismiss button and keep the soft-keyboard open?

I want to have the default back-button there and when that button is pressed it should finish() my activity without having to dismiss the keyboard first.

Nexus 5岩石!

I have tried this: android:windowSoftInputMode="adjustResize|stateAlwaysVisible" in my manifest file, but that didn't do what I expected.


我决定不应该混淆Android标准的含义,如果他们愿意,我选择让用户解雇键盘。


Use the android:windowSoftInputMode="stateHidden" in your activity in manifest file. This will work.

链接地址: http://www.djcxy.com/p/92986.html

上一篇: EditText没有失去焦点在后退按钮与滚动查看

下一篇: 有没有办法禁用“键盘”