我想更改Eclipse包中的Android模拟器的显示方向。
如何水平或垂直更改?
答案 0 :(得分:7)
http://developer.android.com/guide/developing/tools/emulator.html
切换到先前的布局方向(例如,纵向,横向)
KEYPAD_7, Ctrl-F11
切换到下一个布局方向(例如,纵向,横向)
KEYPAD_9, Ctrl-F12
答案 1 :(得分:1)
Ctrl + F12
如果你在电脑上。
答案 2 :(得分:1)
在模拟器上运行应用程序,然后按Ctrl + F11
更改Potrait mode to LandScape
和LandScape to Potrait .
答案 3 :(得分:1)
在Windows上运行ADK时,Ctrl + F11和Ctrl + F12具有相同的效果,可在纵向和横向之间来回切换。请记住每次都要释放Ctrl键,否则它将无法正常工作。
答案 4 :(得分:0)
尝试在该特定活动的清单文件上添加screenOrientation属性并将其设置为“landscape”
android:screenOrientation="landscape">