简体   繁体   中英

Test Rotating Device in AVD

I'm using AVD to test the app. When I press CTRL-F12, the emulator window rotated, but the screen in it doesn't. It's still in Potrait mode. I can't still test the roration behavior. I have checked in the System Setting in the emulator system, the Auto Rotate Screen is on.

Many apps, including many (most?) phone launchers, won't switch to landscape mode on device rotation. Most tablet launchers do rotate, so try a tablet AVD.

If it's your own app that's not rotating, make sure you don't have android:screenOrientation="portrait" specified in your AndroidManifest.xml file.

更改 AndroidMainifest 文件中活动的方向可能是您的活动方向是纵向

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM