问题描述
这可能是一个很容易回答的问题,但是在搜索文档和 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.
推荐答案
试试:
- ctrl+fn+F11 在 Mac 上将横向更改为纵向,反之亦然.
- left-ctrl+F11在 Windows 7 上.
- ctrl+F11在 Linux 上.
- ctrl+fn+F11 on Mac to change the landscape to portrait and vice versa.
- left-ctrl+F11on Windows 7.
- ctrl+F11on Linux.
对于 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.
- left-ctrl+F11在 Windows 7 上它在 Windows 7 中运行良好,适用于 android 模拟器,可以将横向更改为纵向,反之亦然.
- left-ctrl+F11on Windows 7 It works fine in Windows 7 for android emulator to change the landscape orientation to portrait and vice versa.
这篇关于在 Android 模拟器中切换到横向模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)