这可能是一个很容易回答的问题,但是在搜索文档和 Google 几个小时后,我自己找不到解决方案.我在 AndroidManifest.xml
文件中将我的 Android 应用程序的方向设置为 landscape
:
This is probably a pretty easy to answer question, but I can't find the solution myself after a couple hours of searching the documentation and Google. I set the orientation of my Android app to landscape
in the AndroidManifest.xml
file:
android:screenOrientation="landscape"
但是,当我在模拟器中运行应用程序时,它会以横向和纵向模式显示.如何在 mac
上将模拟器切换到 landscape
模式?它正在运行 1.6 SDK.
However, when I run the app in the simulator, it appears sideways and in portrait mode. How can I switch the emulator to landscape
mode on a mac
? It's running the 1.6 SDK.
试试:
对于 Mac 用户,如果设置使用所有 F1、F2 等键作为功能,您只需使用 fn 键键"(在系统偏好设置 -> 键盘下)被选中.
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.
这篇关于在 Android 模拟器中切换到横向模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!