Is there a popup soft keyboard in the Android emulator?

无人久伴 提交于 2019-12-11 19:47:32

问题


As a noob I wrote an app with lots of layout screens and it worked OK in emulation but when I ran it on my Droid Incredible the soft keyboard popping up changed the layout of a LinearLayout I was using - shoving some elements aside and changing the height of others! I fixed it by adding android:windowSoftInputMode="adjustPan” to the Activity element of the manifest but I really would have preferred to discover this problem in emulation and not on a real phone.

So, is there a popup soft keyboard in the Emulator and if so how do I invoke it?


回答1:


yes there is, you only need to click on an EditText box with your mouse and it will open.




回答2:


Yes, of course. You can go to the emulator's edit page, do not choose the "Use handware keyboard".



来源:https://stackoverflow.com/questions/4141378/is-there-a-popup-soft-keyboard-in-the-android-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!