mirror of
https://github.com/cmclark00/mintris.git
synced 2025-05-22 18:25:26 +01:00
Disable diagonal inputs and prevent accidental hard drops. Block back swipe gesture to prevent accidental app exits.
This commit is contained in:
parent
809ae33e5e
commit
8661fd8a80
3 changed files with 105 additions and 7 deletions
|
@ -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" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue