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 模拟器 - 屏幕旋转
基础教程推荐
- AdMob 广告未在模拟器中显示 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
