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

后端 未结 8 692
心在旅途
心在旅途 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

提交回复
热议问题