android 禁止横屏

This commit is contained in:
mx1700 2019-08-18 21:09:48 +08:00
parent 65e0cfaec7
commit 56093ba57f

View file

@ -23,6 +23,7 @@
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />