Display Keyboard for EditText in Emulator (GenyMotion) Android 4.3

半腔热情 提交于 2019-12-30 16:23:06

问题


Does anybody know how to display the keyboard in the emulator when the EditText field has focus. I have tried so many solutions but none of them work. I am working in android 4.3 Jelly Bean. The Emulator I am using is GenyMotion. I would also like to know how to hide the keyboard when the EditText field loses focus. I assume however if the keyboard does not appear in the emulator it won't appear when testing on the device.

Any help much appreciated


回答1:


Just check the details of your emulator. Soft Keyboard won't be displayed if you have checked the option "Hardware Keyboard Present", uncheck that option. And it will automatically displayed on the device since device doesn't have hard keyboard.




回答2:


run Genymotion as the application from windows or mac (not from android studio plugin)

then select the settings sign on the right of the virtual device you have installed from the virtualdevicelist

choose the 'use virtual keyboard for textinput' then close the application.

this worked for me in genymotion 2.6.0




回答3:


Try this it work for me:

GO to settings menu ->Language&Input->turn off the Hardware Physical keyboard.




回答4:


Close emulator -> Setting button -> Check Use virtual keyboard for text input



来源:https://stackoverflow.com/questions/26605228/display-keyboard-for-edittext-in-emulator-genymotion-android-4-3

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