Tomas Aschan
Tomas Aschan

Reputation: 60564

How do I emulate changing the orientation of my android device?

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?

Upvotes: 6

Views: 4051

Answers (1)

Marcello Grechi Lins
Marcello Grechi Lins

Reputation: 3410

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?

Upvotes: 8

Related Questions