From 676da4914c092243126bb753e8cfac54b3cedc55 Mon Sep 17 00:00:00 2001 From: imashnake0 Date: Wed, 3 Jan 2024 02:58:51 -0500 Subject: [PATCH] Enable predictive back gesture https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture --- app/src/main/AndroidManifest.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 62f9bdf7..1caca10c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ - + @@ -10,7 +11,9 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:theme="@android:style/Theme.Material.NoActionBar"> + android:theme="@android:style/Theme.Material.NoActionBar" + android:enableOnBackInvokedCallback="true" + tools:targetApi="tiramisu">