aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/interface_preference.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-16 03:58:42 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-16 03:58:42 +0000
commit350acdb5009c5fdca5c19727ede88bf123b44f6d (patch)
tree29a3c863777fb5723e9da71feebe4087344794d4 /app/src/main/res/xml/interface_preference.xml
parenteb5cc7d7d41c1db8548fdcab52ce04d4d1a1439e (diff)
downloadinfinity-for-reddit-350acdb5009c5fdca5c19727ede88bf123b44f6d.tar
infinity-for-reddit-350acdb5009c5fdca5c19727ede88bf123b44f6d.tar.gz
infinity-for-reddit-350acdb5009c5fdca5c19727ede88bf123b44f6d.tar.bz2
infinity-for-reddit-350acdb5009c5fdca5c19727ede88bf123b44f6d.tar.lz
infinity-for-reddit-350acdb5009c5fdca5c19727ede88bf123b44f6d.tar.xz
infinity-for-reddit-350acdb5009c5fdca5c19727ede88bf123b44f6d.tar.zst
infinity-for-reddit-350acdb5009c5fdca5c19727ede88bf123b44f6d.zip
Add an option which is long press to hide toolbar in post compact layout. This option has crappy animation for now. Add another option to hide toolbar in post compact layout by default.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/xml/interface_preference.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml
index 0fcd1977..f898291c 100644
--- a/app/src/main/res/xml/interface_preference.xml
+++ b/app/src/main/res/xml/interface_preference.xml
@@ -62,6 +62,16 @@
app:key="show_thumbnail_on_the_left_in_compact_layout"
app:title="@string/settings_show_thumbnail_on_the_left_in_compact_layout" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="long_press_to_hide_toolbar_in_compact_layout"
+ app:title="@string/settings_long_press_to_hide_toolbar_in_compact_layout_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="post_compact_layout_toolbar_hidden_by_default"
+ app:title="@string/settings_post_compact_layout_toolbar_hidden_by_default_title" />
+
<Preference
app:title="@string/settings_number_of_columns_in_post_feed_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.NumberOfColumnsInPostFeedPreferenceFragment" />