Switching to landscape mode in Android Emulator
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"
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.
Try:
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.
Not sure about your question - "sideways" is the same as "landscape".
If you mean how to switch during runtime:
From docs.
Just use 9 in numeric keyboard with num-lock off.
7 rotates in the opposite direction.
链接地址: http://www.djcxy.com/p/90716.html上一篇: 检查Android手机的方向
下一篇: 在Android模拟器中切换到横向模式