AndroidManifest.xml中android:screenOrientation字段控制屏幕方向,默认情况是横屏
android:screenOrientation="landscape" //横屏
android:screenOrientation="portrait"//坚屏
AndroidManifest.xml中android:screenOrientation字段控制屏幕方向,默认情况是横屏
android:screenOrientation="landscape" //横屏
android:screenOrientation="portrait"//坚屏