I'm working in Eclipse using the Android SDK and Android ADT plugin, and I have some functionality based on phone orientation that I want to test in the emulator (more specifially, I want to verify my solution to this problem).
How do I emulate the orientation change?
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.
If you mean,switching during runtime,than:
.Switch to previous layout orientation (for example, portrait, landscape): KEYPAD_7, Ctrl-F11 .Switch to next layout orientation (for example, portrait, landscape): KEYPAD_9, Ctrl-F12
Is that what you need?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With