From 46c3ce124fb7c559bbdbd572dd665eca2b33df0f Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sat, 31 Jan 2026 21:47:20 -0500 Subject: [PATCH] Start implementing options to change swipe gesture sensitivity. --- app/src/main/res/values/arrays.xml | 48 +++++++++++++++++++ app/src/main/res/values/strings.xml | 10 ++++ .../xml/gestures_and_buttons_preferences.xml | 32 +++++++++++++ 3 files changed, 90 insertions(+) diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 19d9f8cd..e407e496 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -789,4 +789,52 @@ 2 + + @string/default_sensitivity + @string/low + @string/very_low + + + + 1 + 4 + 8 + + + + @string/default_sensitivity + @string/low + @string/very_low + + + + 1 + 0.5 + 0.1 + + + + @string/default_sensitivity + @string/low + @string/very_low + + + + 1 + 5 + 10 + + + + @string/default_swipe_area + @string/larger_swipe_area + @string/very_larger_swipe_area + + + + 1 + 5 + 10 + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d84ce9cb..1e313d7f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -671,6 +671,16 @@ Port Hide Floating Action Button Media + Tab Switching Sensitivity + Swipe Right to Go Back Sensitivity + Swipe Action Sensitivity in Comments + Default + Low + Very Low + Navigation Drawer Swipe Area + Default + Large + Very Large Cannot get the link diff --git a/app/src/main/res/xml/gestures_and_buttons_preferences.xml b/app/src/main/res/xml/gestures_and_buttons_preferences.xml index 5802500c..226c8684 100644 --- a/app/src/main/res/xml/gestures_and_buttons_preferences.xml +++ b/app/src/main/res/xml/gestures_and_buttons_preferences.xml @@ -29,6 +29,38 @@ app:key="swipe_between_posts" app:title="@string/settings_swipe_between_posts_title" /> + + + + + + + +