t0_sys/frameworks/base/core/res/res/values/config.xml
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
- <bool name="config_allowAllRotations">false</bool>
+ <bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
Android13 支持屏幕四个方向旋转
最新推荐文章于 2024-05-12 13:30:58 发布