AVD Screen orientation not changing with CTRL+F11 or CTRL+F12
I run my app in the AVD emulator using eclipse but I'm unable to change the screen orientation in the AVD (Android 2.0 platform on the emulator).
When I press CTRL+F11 or CTRL+F12 on the keyboard, nothing happens. No messages are generated in the adb debuglog/logcat either when I press either hotkey. 开发者_运维百科
According to http://developer.android.com/guide/developing/tools/emulator.html these are the correct hotkeys to switch the emulator's screen orientation.
I tried it with my app, and with the messaging app. The hotkey has no affect in any case.
I'm running Fedora 12, Gnome. I checked my Keyboard Shortcuts in the System -> Preferences menu, nothing's attached to either hotkey.
Same problem, 3 different PCs (all running Fedora Gnome).
you can also use keypad 7 and keypad 9, did you try them?
Are you using android:screenOrientation to lock it into one or the other?
Make sure you don't have a feature, such as an accessibility one that allows the mouse pointer to be moved with the numpad keys, turned on. I somehow accidently enabled this in Ubuntu, and it was hard to tell what was going on, because I didn't hold the keys down long enough for the pointer didn't move much. Going to Keyboard Preferences->Mouse Keys and unchecking "Pointer can be controlled using the keypad" fixed it.
Try Ctrl + Win + F11/F12 .Worked with Xfce4,on Archlinux.
精彩评论