How do we change emulator screen orientation to landscape or portrait?
26 Answers
Android Emulator Shortcuts
Ctrl+F11 Switch layout orientation portrait/landscape backwards
Ctrl+F12 Switch layout orientation portrait/landscape forwards
1. Main Device Keys
Home Home Button
F2 Left Softkey / Menu / Settings button (or Page up)
Shift+f2 Right Softkey / Star button (or Page down)
Esc Back Button
F3 Call/ dial Button
F4 Hang up / end call button
F5 Search Button
2. Other Device Keys
Ctrl+F5 Volume up (or + on numeric keyboard with Num Lock off) Ctrl+F6 Volume down (or + on numeric keyboard with Num Lock off) F7 Power Button Ctrl+F3 Camera Button
Ctrl+F11 Switch layout orientation portrait/landscape backwards
Ctrl+F12 Switch layout orientation portrait/landscape forwards
F8 Toggle cell network
F9 Toggle code profiling
Alt+Enter Toggle fullscreen mode
F6 Toggle trackball mode
Android Emulator Shortcuts
Ctrl+F11 Switch layout orientation portrait/landscape backwards
Ctrl+F12 Switch layout orientation portrait/landscape forwards
- Main Device Keys
Home Home Button
F2 Left Softkey / Menu / Settings button (or Page up)
Shift+F2 Right Softkey / Star button (or Page down)
Esc Back Button
F3 Call/ dial Button
F4 Hang up / end call button
F5 Search Button
- Other Device Keys
Ctrl+F5 Volume up (or + on numeric keyboard with Num Lock off) Ctrl+F6 Volume down (or + on numeric keyboard with Num Lock off) F7 Power Button Ctrl+F3 Camera Button
Ctrl+F11 Switch layout orientation portrait/landscape backwards
Ctrl+F12 Switch layout orientation portrait/landscape forwards
F8 Toggle cell network
F9 Toggle code profiling
Alt+Enter Toggle fullscreen mode
F6 Toggle trackball mode
On Android Studio 4.0.1, the emulator includes buttons for rotation.
In the image below, the Rotate Left (shortcut: Ctrl + Left) button is outlined in blue and the Rotate Right (shortcut: Ctrl + Right) button is outlined in red.
After pressing one of the buttons to rotate, the orientation of the application itself will not change. For instance, if we pressed Rotate Left, the application would look this:
To change the orientation of the running application, it is necessary to click the icon outlined in red above. Note that this icon may take a few seconds to show up and will disappear shortly. Also, when rotating back to portrait orientation, one must press the opposite rotate button for the icon to appear. This means that if we pressed Rotate Left, we need to press Rotate Right to return to the original orientation, and vice versa.
All of the above methods didn't work for me. Using Left Ctrl + <Windows Key> + F11 worked on Linux Mint 17.
In the updated emulator you don't have to remember the keyboard shortcuts -- they have added a side panel to the right side of the window. You can change the screen orientation by clicking either of the "rotate" buttons in that side panel.
Just click on Rotate button to change the landscape to portrait and vice versa.