简体   繁体   English

在屏幕上显示键盘

[英]Show keyboard on the screen

I want to test ime option using my emulator, but I can not see the keyboard. 我想使用模拟器测试ime选项,但看不到键盘。 I can type letters, but I need the keyboard just like in a real android device. 我可以输入字母,但是就像真正的android设备一样,我也需要键盘。 How can I do that? 我怎样才能做到这一点? I was trying to find something in settings, but I can't find anything. 我试图在设置中找到某些内容,但找不到任何内容。 Look: 看:

在此处输入图片说明

Follow the following steps, if you are using Android Studio: 如果您使用的是Android Studio,请按照以下步骤操作:

1. Goto your AVD Manager 1.转到您的AVD管理器

2. Select your device 2.选择您的设备

3. Click on the edit button 3.单击编辑按钮

4. Now Click on Show Advance Settings 4.现在单击显示高级设置

5. Scroll down to the option to disable(as you want to disable) Enable Keyboard Input 5.向下滚动到选项以禁用(如要禁用) 启用键盘输入

As also mentioned by @sanat shukla you have to edit your Android Virtual Device (AVD) in the AVD manager. 正如@sanat shukla提到的那样,您必须在AVD管理器中编辑Android虚拟设备(AVD)。 You have to tick off the "Hardware keyboard present". 您必须勾选“存在的硬件键盘”。 That means the emulator will not use the Hardware keyboard, but show you a Software keyboard. 这意味着仿真器将不使用硬件键盘,而是向您显示软件键盘。

More information: http://developer.android.com/tools/devices/managing-avds.html 更多信息: http : //developer.android.com/tools/devices/managing-avds.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM