Disable diagonal inputs and prevent accidental hard drops. Block back swipe gesture to prevent accidental app exits.

This commit is contained in:
cmclark00 2025-03-28 11:57:21 -04:00
parent 809ae33e5e
commit 8661fd8a80
3 changed files with 105 additions and 7 deletions

View file

@ -2,6 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.VIBRATE" />
<!-- Add permission to handle system gestures if needed on some devices -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<application
android:allowBackup="true"
@ -14,7 +16,10 @@
android:name=".MainActivity"
android:exported="true"
android:screenOrientation="portrait"
android:theme="@style/Theme.Mintris.NoActionBar">
android:theme="@style/Theme.Mintris.NoActionBar"
android:immersive="true"
android:resizeableActivity="false"
android:excludeFromRecents="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />