问题
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