aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-02-01 03:32:29 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-02-01 03:32:29 +0000
commit1f1d6a97fa423c98043ebf798fe19ebb4c1d9165 (patch)
tree929f338f5593cfd976a405a0531d6e0444d7608e /app/src/main/res
parent02db44e532fc329fecab9c139dae6799ae4269d8 (diff)
downloadinfinity-for-reddit-1f1d6a97fa423c98043ebf798fe19ebb4c1d9165.tar
infinity-for-reddit-1f1d6a97fa423c98043ebf798fe19ebb4c1d9165.tar.gz
infinity-for-reddit-1f1d6a97fa423c98043ebf798fe19ebb4c1d9165.tar.bz2
infinity-for-reddit-1f1d6a97fa423c98043ebf798fe19ebb4c1d9165.tar.lz
infinity-for-reddit-1f1d6a97fa423c98043ebf798fe19ebb4c1d9165.tar.xz
infinity-for-reddit-1f1d6a97fa423c98043ebf798fe19ebb4c1d9165.tar.zst
infinity-for-reddit-1f1d6a97fa423c98043ebf798fe19ebb4c1d9165.zip
Locking fab in ViewPostDetailActivity, Swiping up to hide fab in ViewPostDetailActivity are available. Minor bugs fixed.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_post_type_bottom_sheet.xml4
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/gestures_and_buttons_preference.xml11
3 files changed, 15 insertions, 2 deletions
diff --git a/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml b/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml
index ee526c00..a21d1a21 100644
--- a/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml
@@ -55,7 +55,7 @@
android:paddingBottom="16dp"
android:paddingStart="32dp"
android:paddingEnd="32dp"
- android:text="@string/bottom_sheet_post_link"
+ android:text="@string/bottom_sheet_post_video"
android:textColor="@color/primaryTextColor"
android:textSize="?attr/font_default"
android:drawableStart="@drawable/ic_outline_video_24dp"
@@ -73,7 +73,7 @@
android:paddingBottom="16dp"
android:paddingStart="32dp"
android:paddingEnd="32dp"
- android:text="@string/bottom_sheet_post_video"
+ android:text="@string/bottom_sheet_post_image"
android:textColor="@color/primaryTextColor"
android:textSize="?attr/font_default"
android:drawableStart="@drawable/ic_image_24dp"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 82681a40..8ca45ac6 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -306,6 +306,8 @@
<string name="settings_default_post_layout">Default Post Layout</string>
<string name="settings_show_divider_in_compact_layout">Show Divider in Compact Layout</string>
<string name="settings_swipe_to_go_back_from_post_detail_title">Swipe Right to Go Back From Comments</string>
+ <string name="settings_lock_jump_to_next_top_level_comment_button_title">Lock Jump to Next Top-level Comment Button</string>
+ <string name="settings_swipe_up_to_hide_jump_to_next_top_level_comment_button_title">Swipe Up to Hide Jump to Next Top Level Comment Button</string>
<string name="settings_lazy_mode_interval_title">Lazy Mode Interval</string>
<string name="settings_font_size_title">Font Size</string>
<string name="settings_title_font_size_title">Title Font Size</string>
diff --git a/app/src/main/res/xml/gestures_and_buttons_preference.xml b/app/src/main/res/xml/gestures_and_buttons_preference.xml
index 2f15e6be..ad675bca 100644
--- a/app/src/main/res/xml/gestures_and_buttons_preference.xml
+++ b/app/src/main/res/xml/gestures_and_buttons_preference.xml
@@ -8,6 +8,17 @@
<SwitchPreference
app:defaultValue="false"
+ app:key="lock_jump_to_next_top_level_comment_button"
+ app:title="@string/settings_lock_jump_to_next_top_level_comment_button_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="swipe_up_to_hide_jump_to_next_top_level_comments_button"
+ app:title="@string/settings_swipe_up_to_hide_jump_to_next_top_level_comment_button_title"
+ app:isPreferenceVisible="false" />
+
+ <SwitchPreference
+ app:defaultValue="false"
app:key="volume_keys_navigate_comments"
app:title="@string/settings_volume_keys_navigate_comments_title" />