Explorar o código

:bug: Screen orientation not locked

Beautus %!s(int64=5) %!d(string=hai) anos
pai
achega
5d6c6fbdd0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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" />