From 8ed7f54d46307177e4ef05721b3c6f15aa4fa9c4 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 13 Jun 2020 22:11:57 +0800 Subject: Add an option to move thumbnail in compact layout to the left. --- app/src/main/res/layout/item_post_compact.xml | 1 + app/src/main/res/values/strings.xml | 1 + .../main/res/xml/immersive_interface_preferences.xml | 17 +++++++++++++++++ app/src/main/res/xml/interface_preference.xml | 18 +++++++----------- 4 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 app/src/main/res/xml/immersive_interface_preferences.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml index a8f3d262..59444cef 100644 --- a/app/src/main/res/layout/item_post_compact.xml +++ b/app/src/main/res/layout/item_post_compact.xml @@ -76,6 +76,7 @@ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 86d705aa..f79e18a9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -343,6 +343,7 @@ Show Elapsed Time in Posts and Comments Default Post Layout Show Divider in Compact Layout + Show Thumbnail on the Right in Compact Layout Swap Tap and Long Press in Comments Swipe Right to Go Back From Comments Lock Jump to Next Top-level Comment Button diff --git a/app/src/main/res/xml/immersive_interface_preferences.xml b/app/src/main/res/xml/immersive_interface_preferences.xml new file mode 100644 index 00000000..962faa10 --- /dev/null +++ b/app/src/main/res/xml/immersive_interface_preferences.xml @@ -0,0 +1,17 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index 1d77970c..d2525eb6 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -7,18 +7,9 @@ app:icon="@drawable/ic_font_size_24dp" app:fragment="ml.docilealligator.infinityforreddit.Settings.FontPreferenceFragment" /> - - - + app:fragment="ml.docilealligator.infinityforreddit.Settings.ImmersiveInterfacePreferenceFragment" /> + +