这可能是一个很容易回答的问题,但在搜索文档和谷歌几个小时后我自己找不到解决方案。我将 Android 应用程序的方向设置为landscape
in the AndroidManifest.xml
file:
android:screenOrientation="landscape"
但是,当我在模拟器中运行该应用程序时,它显示为横向且处于纵向模式。如何切换模拟器landscape
模式上mac
?它运行的是 1.6 SDK。
Try:
-
ctrl+fn+F11 on Mac to change the landscape to portrait and vice versa.
-
left-ctrl+F11on Windows 7.
-
ctrl+F11on Linux.
For Mac users, you only need to use the fn key if the setting "Use all F1, F2 etc. keys as function keys" (under System Preferences -> Keyboard) is checked.
-
left-ctrl+F11on Windows 7
It works fine in Windows 7 for android emulator to change the landscape orientation to portrait and vice versa.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)