项目为竖屏,旋转时会在左下角出现旋转按钮
修改如下:
diff --git a/frameworks/base/core/res/res/values/config.xml b/frameworks/base/core/res/res/values/config.xml
index ca4e1f6..bed476c 100755
--- a/frameworks/base/core/res/res/values/config.xml
+++ b/frameworks/base/core/res/res/values/config.xml
@@ -585,7 +585,7 @@
settings are omitted from the system UI. In certain situations we may
still use the accelerometer to determine the orientation, such as when
docked if the dock is configured to enable the accelerometer. -->
- <bool name="config_supportAutoRotation">true</bool>
+ <bool name="config_supportAutoRotation">false</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->