如何让安卓模拟器显示软键盘?

How can I make the Android emulator show the soft keyboard?(如何让安卓模拟器显示软键盘?)
本文介绍了如何让安卓模拟器显示软键盘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调试软键盘显示不应该显示的问题.但是,我没有方便测试的设备.问题是模拟器从不显示软键盘.

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 emulator never shows the soft keyboard.

有些皮肤的右侧总是显示键盘,有些则没有,但到目前为止我尝试过的皮肤都没有在设备屏幕上显示键盘.

Some skins have a keyboard constantly displayed on the right, some don't, but none that I've tried so far has ever shown a keyboard on the device screen.

我错过了一些设置吗?

推荐答案

我发现了如何在 Android 模拟器本身上执行此操作(菜单,设置"应用程序 - 而不是外面的模拟器).您需要做的就是:

I found out how to do this on the Android emulator itself (Menu, "Settings" App - not the settings of the emulator outside). All you need to do is:

打开设置应用程序->语言与输入->转到键盘和输入法->点击默认

open settings app -> Language & Input -> Go to the "Keyboard & Input Methods -> click Default

这将弹出一个对话框,在这种情况下,您可以通过将硬件键盘从打开切换到关闭来禁用硬件键盘.这将禁用硬件键盘并启用软键盘.

This will bring up a Dialog in which case you can then disable the Hardware Keyboard by switching the hardware keyboard from on to off. This will disable the Hardware keyboard and enable the softkeyboard.

这篇关于如何让安卓模拟器显示软键盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)