Преглед изворни кода

:bug: Screen orientation not locked

Beautus пре 5 година
родитељ
комит
5d6c6fbdd0
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      app/src/main/AndroidManifest.xml

+ 2 - 1
app/src/main/AndroidManifest.xml

@@ -19,7 +19,8 @@
         <activity
             android:name=".MainActivity"
             android:launchMode="singleTask"
-            android:screenOrientation="fullSensor"
+            android:screenOrientation="portrait"
+            tools:ignore="LockedOrientationActivity"
             android:stateNotNeeded="true">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />