3

I'm a Mac user. I just installed the Eclipse and Android SDK. However, I realised that when my emulator rotates from portrait to landscape, the view of the application does not turn back when I press fn+ctrl+11/12 again but the emulator does. This does not occur only on my app, it also occurs on the device program such as setting.

Does anyone know the reason behind it ? Please help. Thanks a lot.

T.Rob
  • 31,522
  • 9
  • 59
  • 103
starvi
  • 519
  • 4
  • 15
  • 29

2 Answers2

3

You are probably running into a bug that occurs when the emulator runs certain versions of Android OS. For links, see my answer here: Android 2.3 emulator orientation changes

Community
  • 1
  • 1
ThomasW
  • 16,981
  • 4
  • 79
  • 106
0

because each rotation is 90 degrees, the first time you tilt it, it will go sideways (90 deg). what you're experiencing when you tilt it again is that the emulator(phone) is now upside-down (180 deg). even normal android devices do not display portrait mode upside-down. tilt it two more times to go back to 0 degrees portrait.

josephus
  • 8,284
  • 1
  • 37
  • 57