From f37a46e2c234fe50efcc867fdd224a14dcbfe45e Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 19 Jul 2020 13:16:14 +0800 Subject: Reorganize settings. --- app/src/main/res/values/strings.xml | 3 +++ app/src/main/res/xml/interface_preference.xml | 25 +++++++++++++++++-------- app/src/main/res/xml/main_preferences.xml | 24 ++++++++++++------------ 3 files changed, 32 insertions(+), 20 deletions(-) (limited to 'app') diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f286a262..591a7c92 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -364,6 +364,7 @@ Only for Logged-in User Enable Bottom Navigation Has No Effect in Anonymous Mode + Post and Comment Vote Buttons on the Right Use Volume Keys to Navigate Comments in Posts Use Volume Keys to Navigate Posts @@ -373,6 +374,7 @@ Ignore Navigation Bar in Video Player Prevent the Video Controller Having Extra Margin Confirm to Exit + Comment Show Top-level Comments First Show Comment Divider Click to Show/Hide Comment Toolbar @@ -381,6 +383,7 @@ Show Absolute Number of Votes Show Elapsed Time in Posts and Comments Time Format + Post Default Post Layout Show Divider in Compact Layout Show Thumbnail on the Left in Compact Layout diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index 8ad53611..cf959d82 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -24,14 +24,25 @@ app:title="@string/settings_enable_bottom_app_bar_title" app:summary="@string/settings_enable_bottom_app_bar_summary" /> + + + + - + + + + + - - \ No newline at end of file diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index c15bfee4..af3f3898 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -22,23 +22,11 @@ app:title="@string/settings_gestures_and_buttons_title" app:fragment="ml.docilealligator.infinityforreddit.Settings.GesturesAndButtonsPreferenceFragment" /> - - - - + + + +