How can I make the Android emulator show the soft keyboard?

前端 未结 8 474
生来不讨喜
生来不讨喜 2020-12-04 20:51

I\'m debugging an issue with the soft keyboard display not displaying when it should. However, I don\'t have a device handy for testing. The problem is that the em

8条回答
  •  萌比男神i
    2020-12-04 21:22

    To be more precise, with Lollipop these are the steps I followed to show soft keyboard:

    1. Settings > Language & Input;
    2. under "Keyboard & input methods" label, select "Current Keyboard";
    3. A Dialog named "Change Keyboard" appears, switch ON "Hardware", then select "Choose keyboards";
    4. another Dialog appears, switch ON the "Sample Soft Keyboard". Here you get an alert about the possibility that keyboard will store everything you write, also passwords. Give OK;
    5. Repeat above steps in order to show "Change Keyboard" Dialog again, here the new option "Sample Soft Keyboard" is available and you can select it.

    NOTE: after that, you might experience problems in running you app (as I had). Simply restart the emulator.

提交回复
热议问题