Skip to content

Commit 2a3537c

Browse files
committed
Lock screen orientation to portrait (#44)
1 parent 5a1cdc2 commit 2a3537c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
package="com.jayasuryat.minesweeperjc">
45

56
<application
@@ -14,7 +15,9 @@
1415
<activity
1516
android:name=".presentation.MainActivity"
1617
android:exported="true"
17-
android:label="@string/app_name">
18+
android:label="@string/app_name"
19+
android:screenOrientation="portrait"
20+
tools:ignore="LockedOrientationActivity">
1821
<intent-filter>
1922
<action android:name="android.intent.action.MAIN" />
2023
<category android:name="android.intent.category.LAUNCHER" />

0 commit comments

Comments
 (0)