aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/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
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 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/interface_preference.xml10
-rw-r--r--app/src/main/res/xml/security_preferences.xml2
2 files changed, 11 insertions, 1 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" />
diff --git a/app/src/main/res/xml/security_preferences.xml b/app/src/main/res/xml/security_preferences.xml
index a7174faf..d43c2384 100644
--- a/app/src/main/res/xml/security_preferences.xml
+++ b/app/src/main/res/xml/security_preferences.xml
@@ -3,6 +3,6 @@
<SwitchPreference
app:defaultValue="false"
app:key="require_auth_to_account_section"
- app:title="@string/settings_require_authentication_to_go_to_account_section_in_navigation_drawer" />
+ app:title="@string/settings_require_authentication_to_go_to_account_section_in_navigation_drawer_title" />
</PreferenceScreen> \ No newline at end of file