Android 模拟器停止显示屏幕键盘?

发布于 2024-09-10 14:45:45 字数 99 浏览 2 评论 0原文

我在 eclipse 中使用 AVD 管理器。是否有一个设置可以用来在输入字段获得焦点时停止显示屏幕键盘?

我尝试了硬件键盘= true,但模拟器似乎根本没有启动:-S

I am using the AVD manager in eclipse. Is there a setting that I can use to stop the on screen keyboard appearing when an input field has focus?

I tried has hardware keyboard = true, but then the emulator doesn't seem to start at all :-S

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

年少掌心 2024-09-17 14:45:45

mstoic 的答案有效,但有一个问题:Google 语音输入已启用,无法摆脱它。

不确定这是否适用于所有 Android 版本的模拟器,但我在 Settings -> 中找到了它系统 -> 语言和输入 -> 物理键盘(API 29 模拟器)。它适用于我的用例。

Android 模拟器API 29

mstoic's answer works, but with one problem: Google voice typing gets enabled with no way to get rid of it.

Not sure if this is available in emulators of all Android versions, but I found this in Settings -> System -> Languages & Input -> Physical keyboard (API 29 emulator). It worked for my use case.

Android emulator for API 29

东北女汉子 2024-09-17 14:45:45

模拟设备应该有一个物理键盘,因此不需要软键盘。

我现在尝试了一下,这个配置组合对我来说很有效:

hw.keyboard=yes
hw.touchScreen=no

AVD有物理键盘,但没有触摸屏,因此只能使用物理键盘进行文本输入,并且模拟器不显示软键盘。

The emulated device should have a physical keyboard, therefore negating the need for a soft keyboard.

I tried it out now and this configuration combination works for me:

hw.keyboard=yes
hw.touchScreen=no

The AVD has a physical keyboard, but no touchscreen, therefore only the physical keyboard can be used for text input, and the emulator does not show the soft keyboard.

心病无药医 2024-09-17 14:45:45

只需在模拟器上禁用 Gboard 应用即可。

为此,请转到“设置”>“应用程序> Gboard,然后单击“禁用”按钮。

输入图片此处说明

如果 Gboard 不可见,请确保选择右上角的三个点,然后选择“显示系统”选项。

输入图片此处说明

在某些应用中,您可能会看到语音输入框而不是键盘,您也可以通过禁用 Google 应用来禁用该功能,就像禁用 Gboard 一样。

输入图片此处描述

Simply disable the Gboard app on your emulator.

To do that, go to Settings > Apps > Gboard, and then click the "DISABLE" button.

enter image description here

If Gboard is not visible, make sure you select the three dots in the top right corner and select the "Show system" option.

enter image description here

In some apps, you may see the Voice input box instead of the keyboard, you can disable that too by disabling the Google app in the same way you disabled Gboard.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文