键盘被隐藏的方向变化 [英] Keyboard is hidden on orientation change
本文介绍了键盘被隐藏的方向变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的键盘被隐藏时的android手机变为横向的方向。我应该怎么做,以显示我的键盘上?
解决方案
将此您code
<$p$p><$c$c>getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);My keyboard is hidden when the orientation of the android phone changes to landscape. What should I do in order to show my keyboard?
解决方案
Add this on your code
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
这篇关于键盘被隐藏的方向变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文