How do I change screen orientation in the Android emulator?

后端 未结 26 2384
慢半拍i
慢半拍i 2020-11-28 18:04

How do we change emulator screen orientation to landscape or portrait?

相关标签:
26条回答
  • 2020-11-28 18:39

    My virtual device could not be rotated. Go to the device list, click settings and change the predefined resolution.

    0 讨论(0)
  • 2020-11-28 18:39

    Use function + 9 for HP laptops. Others keys specified in previous answers didn't work for me.

    0 讨论(0)
  • 2020-11-28 18:39

    Super->Ctrl_L->F12 works for me on Fedora 23

    0 讨论(0)
  • 2020-11-28 18:41

    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

    1. 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

    0 讨论(0)
  • 2020-11-28 18:44

    On Ubuntu none of the keys (Ctrl+F11/F12 or numpad 7/numpad 9) worked for me. But I can rotate the emulator sending the keys with xdotool.

    For example for a VM named "Galaxy_Nexus" I can rotate the emulator with:

    xdotool search --name "Galaxy" key "ctrl_L+F11"
    
    0 讨论(0)
  • 2020-11-28 18:44

    In my notebook, Dell Latitude E4310, the Ctrl+F12 keys do the job.

    0 讨论(0)
提交回复
热议问题