How do we change emulator screen orientation to landscape or portrait?
With Android Studio:
Windows: Ctrl+Left-Arrow and Ctrl+Right-Arrow
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.
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
ctrl+fn+F11 on Mac to change the landscape to portrait and vice versa.
left-ctrl+F11on Windows 7.
ctrl+F11on Linux.
For Mac, use:
Ctrl + FN + F11
For those pesky Apple MacBook keyboard layouts that otherwise adjust the volume, use Ctrl + fn + F12.