切换到横屏模式在Android模拟器 [英] Switching to landscape mode in Android Emulator

查看:117
本文介绍了切换到横屏模式在Android模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个pretty的容易回答的问题,但我不能找到解决自己搜索的文档和谷歌的几个小时后。我把我的Andr​​oid应用程序的方向,以风景的Andr​​oidManifest.xml 文件:

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 ?它的运行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上改变横向到纵向,反之亦然。
  • 左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用户,你只需要使用<大骨节病> FN 键,如果设置使用所有的<大骨节病> F1 ,<大骨节病> F2 等键用作功能键(下系统preferences - >键盘)检查

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.

  • 左CTRL在Windows + <大骨节病> F11 7 它工作正常,在Windows 7的Andr​​oid模拟器改变横向到纵向,反之亦然。
  • 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模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆