Forcibly run android emulator in landscape mode
I need to run emulator with size 1366x768 in landscape mode. But when I launch emulator, it automatically changes into portrait mode, but with same scale (height is 1366, width is 768, but I need otherwise). So, changing mode by pressing CTRL + F12 don't helps, because after changes, proportions stay the same. Any suggestion?
You may try Genymotion, fast, supports rotation and sensors too.
http://www.genymotion.com/
For Windows OS:
Run your emulator and press Number 9 .By pressing Number "9" . You can toggle from landscape to portrait and portrait to landscape. I hope you get it now. Here is an image which Number 9 you need to press:
For Linux:
You should use Left Ctrl + F12 . It'll work for sure.
I am not sure about this, But you can try. Use NUMPAD 7 followed by NUMPAD 9.
For more information , Go Here
Also You need to see This link
Let me know if it helped. Thanks.
To force landscape mode boot-up, edit the device's configuration file to force the height and width settings.
Open this file for edit in a text editor:
C:Users<user>.androidavd<deviceName>.avdhardware-qemu.ini
Switch the values of the width and height, so that the width is longer than the height:
hw.lcd.width = 800
hw.lcd.height = 480
The AVD now boots in Landscape mode. The orientation may still be changed with shortcut keys.
链接地址: http://www.djcxy.com/p/90732.html上一篇: Android模拟器屏幕颠倒
下一篇: 以横向模式强制运行android模拟器