Skip to content

Commit

Permalink
lock to portrait screen orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
j05t committed Oct 9, 2024
1 parent fe9ed1a commit 3c3825d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.jstappdev.e6bflightcomputer"
minSdk = 26
targetSdk = 35
versionCode = 11
versionName = "1.1"
versionCode = 12
versionName = "1.2"
}

buildTypes {
Expand Down
11 changes: 8 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,25 @@
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/Theme.E6BFlightComputer"
tools:targetApi="31">
<activity
android:name=".Front"
android:exported="true"
android:theme="@style/Theme.E6BFlightComputer">
android:screenOrientation="portrait"
android:theme="@style/Theme.E6BFlightComputer"
tools:ignore="DiscouragedApi,LockedOrientationActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Back" />
<activity
android:name=".Back"
android:screenOrientation="portrait"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
</application>

</manifest>

0 comments on commit 3c3825d

Please sign in to comment.