Sfoglia il codice sorgente

:bug: Screen orientation not locked

Beautus 5 anni fa
parent
commit
5d6c6fbdd0
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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" />