How do I get the Android tablet emulator to be right-side up?

后端 未结 8 659
心在旅途
心在旅途 2021-01-03 19:01

I just downloaded the Android 3.0 SDK and booted up an emulator with it. I rotated the emulator to portrait mode with Ctrl-F12 and then opened and the activity that was bui

相关标签:
8条回答
  • 2021-01-03 19:47

    open your androidmanifest file. In the application tab select an activity. Then scroll down to screen orientation and select sensorPortait in the drop-down menu. It's only available from api-level 9 (2.3.1) and higher.

    enter image description here

    0 讨论(0)
  • 2021-01-03 19:49

    I encountered this problem on running the Android SDK (Eclipse) on an Intel (Core i5) Mac. I was able to fix it by disabling the "Use Host GPU" option for the AVD.

    0 讨论(0)
提交回复
热议问题