Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 8795fd0

Browse files
committed
Set screenOrientation portrait in Android main activity
1 parent e2ac2cd commit 8795fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile-bare/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<application
1616
android:name=".MainApplication"
1717
android:label="@string/app_name"
18-
android:screenOrientation="portrait"
1918
android:icon="@mipmap/ic_launcher"
2019
android:roundIcon="@mipmap/ic_launcher_round"
2120
android:allowBackup="false"
@@ -24,6 +23,7 @@
2423
android:name=".MainActivity"
2524
android:label="@string/app_name"
2625
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
26+
android:screenOrientation="portrait"
2727
android:windowSoftInputMode="adjustResize">
2828
<intent-filter>
2929
<action android:name="android.intent.action.MAIN" />

0 commit comments

Comments
 (0)