From f22cc7538ef1df04d3cdf47843ca41693e32049e Mon Sep 17 00:00:00 2001
From: Loukious <24696530+Loukious@users.noreply.github.com>
Date: Sat, 1 Aug 2026 21:53:50 +0100
Subject: [PATCH] crDroidSettings: Add gesture navigation space support
---
res/values/cr_strings.xml | 15 +++++++++++++++
.../crdroid/settings/fragments/Navigation.java | 2 ++
2 files changed, 17 insertions(+)
diff --git a/res/values/cr_strings.xml b/res/values/cr_strings.xml
index 1aa21f8a6cb..da66148e514 100644
--- a/res/values/cr_strings.xml
+++ b/res/values/cr_strings.xml
@@ -1683,4 +1683,19 @@ A small donation helps keep this project alive and improving. You can dismiss th
Comfort display (Reading mode)
Default
Inspired by Sony\'s Bravia/X-Reality engine, the Display Engine features Vivid mode for enhanced brightness and color saturation, X-Reality mode for improved detail and color accuracy, and Triluminous mode for a wider color range.
+
+
+ Gesture navigation space
+ Control the space reserved at the bottom of the screen
+
+ - Default
+ - Compact
+ - Minimal
+
+
+ - 0
+ - 1
+ - 2
+
+
diff --git a/src/com/crdroid/settings/fragments/Navigation.java b/src/com/crdroid/settings/fragments/Navigation.java
index c85d1583a5f..ee649b6f110 100644
--- a/src/com/crdroid/settings/fragments/Navigation.java
+++ b/src/com/crdroid/settings/fragments/Navigation.java
@@ -65,6 +65,8 @@ public static void reset(Context mContext) {
Settings.System.GESTURE_NAVBAR_LENGTH_MODE, 1, UserHandle.USER_CURRENT);
Settings.System.putIntForUser(resolver,
Settings.System.GESTURE_NAVBAR_HEIGHT_MODE, 3, UserHandle.USER_CURRENT);
+ Settings.System.putIntForUser(resolver,
+ Settings.System.GESTURE_NAVBAR_SPACE_MODE, 0, UserHandle.USER_CURRENT);
}
@Override