flutter: android: Limit activity orientation to be portrait

This commit is contained in:
Calcitem 2021-05-08 23:08:09 +08:00
parent 59dbca332a
commit c261af4148
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user