Brad Hein
Brad Hein

Reputation: 11057

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

Upvotes: 6

Views: 14926

Answers (4)

o0'.
o0'.

Reputation: 11863

you can also use keypad 7 and keypad 9, did you try them?

Upvotes: 20

Alex
Alex

Reputation: 1

Try Ctrl + Win + F11/F12 .Worked with Xfce4,on Archlinux.

Upvotes: -1

kelleyn
kelleyn

Reputation: 11

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.

Upvotes: 1

Robby Pond
Robby Pond

Reputation: 73494

Are you using android:screenOrientation to lock it into one or the other?

Upvotes: 3

Related Questions