Reputation: 4267
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?
Upvotes: 2
Views: 3001
Reputation: 15685
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>\.android\avd\<deviceName>.avd\hardware-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.
Upvotes: 1
Reputation: 8473
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.
Upvotes: 1
Reputation: 6112
You may try Genymotion, fast, supports rotation and sensors too.
Upvotes: 1