Android emulator - Screen rotation(Android 模拟器 - 屏幕旋转)
问题描述
我想在模拟器上测试手机的旋转,我到处都看到我们必须使用 Ctrl+F11 但是它只会旋转模拟器的图像,不会启动配置更改事件或重绘活动.
I would like to test the rotation of a phone on the emulator, I see everywhere that we have to use Ctrl+F11 but it only rotates the image of the emulator and does not launch a configuration change event or redraw the activity.
这是我使用 Ctrl+F11 所拥有的:
Here is what I have with Ctrl+F11 :
那么,我必须使用什么来模拟真实的旋转?
So, what do I have to use to simulate a real rotation ?
推荐答案
正如 Nicolas Jafelle 所建议的那样 here,您可以尝试在模拟器设置中添加属性Keyboard Support-->yes".这对我有帮助.
As suggested by Nicolas Jafelle here, you can try to add the property "Keyboard Support-->yes" in the emulator settings. That helped me.
PS:它还允许您的模拟器从您的键盘获取输入.查看更多这里
PS: it will also allow for your emulator to get input from your keyboard. See more here
这篇关于Android 模拟器 - 屏幕旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android 模拟器 - 屏幕旋转


- android 4中的android RadioButton问题 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01