Android emulator not rotating to landscape

后端 未结 11 1416
星月不相逢
星月不相逢 2020-12-01 07:21

When i try to switch the orientation of my emulator, the emulator window rotates and the orientation of the emulator screen stays as it wer

11条回答
  •  生来不讨喜
    2020-12-01 08:16

    Other answers cover this pretty well, but there seem to be some restrictions on using the Ctrl key bindings (at least in Linux).

    Summary: Key bindings for changing emulator orientation

    Note that there are relevant bugs for emulator targets v2.3 and v4.4. See the bug reports for more info and workarounds.

    Emulator shortcuts are listed here.

    • Prev Layout: KEYPAD_7 or Ctrl-F11
    • Next Layout: KEYPAD_9 or Ctrl-F12

    Notes on Ctrl key bindings (in Linux)

    • Although the docs claim Ctrl-F11/12 work, I've found that these bindings only work using the left control key (LeftCtrl-F11/12). Someone mentioned this happening in Windows, so it's not just Linux.
    • LeftCtrl-F11/12 using a key remapped to LeftCtrl doesn't work for me. I need to use the physical LeftCtrl key. I don't know whether this affects non-X11 systems as well.

    Note on KP_n key bindings

    • Keep in mind that a few numeric keypads actually emit scancodes for the number-row digits, rather than the proper keypad digits. Such keypads won't work for any keypad-specific bindings.

提交回复
热议问题