diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-02-20 16:27:04 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-02-20 16:27:04 +0000 |
commit | a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16 (patch) | |
tree | 838efe7b4191ac7551b3b6e01a1668c5cf57aba1 /app/src/main/res | |
parent | b06c24402b5d32527c8449f8a5bd02ddfd15736a (diff) | |
download | infinity-for-reddit-a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16.tar infinity-for-reddit-a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16.tar.gz infinity-for-reddit-a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16.tar.bz2 infinity-for-reddit-a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16.tar.lz infinity-for-reddit-a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16.tar.xz infinity-for-reddit-a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16.tar.zst infinity-for-reddit-a54a3395f8d5c2b61905f4c0ae77c4b7d11b3a16.zip |
Add an option to show rounded number of votes.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_load_more_comments_placeholder.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/xml/interface_preference.xml | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_load_more_comments_placeholder.xml b/app/src/main/res/layout/item_load_more_comments_placeholder.xml index 099e4a9a..0a4a0047 100644 --- a/app/src/main/res/layout/item_load_more_comments_placeholder.xml +++ b/app/src/main/res/layout/item_load_more_comments_placeholder.xml @@ -31,6 +31,7 @@ android:id="@+id/divider_item_load_more_comments_placeholder" android:layout_width="match_parent" android:layout_height="1dp" - android:background="@color/dividerColor" /> + android:background="@color/dividerColor" + android:visibility="gone" /> </LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 636c71e1..d0b349ae 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -309,6 +309,7 @@ <string name="settings_confirm_to_exit">Confirm to Exit</string> <string name="settings_show_top_level_comments_first_title">Show Top-level Comments First</string> <string name="settings_show_comment_divider_title">Show comment divider</string> + <string name="settings_show_absolute_number_of_votes_title">Show Absolute Number of Votes</string> <string name="settings_show_elapsed_time">Show Elapsed Time in Posts and Comments</string> <string name="settings_default_post_layout">Default Post Layout</string> <string name="settings_show_divider_in_compact_layout">Show Divider in Compact Layout</string> diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index f3e1dabe..c62ecbac 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -64,4 +64,9 @@ app:key="show_comment_divider" app:title="@string/settings_show_comment_divider_title" /> + <SwitchPreference + app:defaultValue="true" + app:key="show_absolute_number_of_votes" + app:title="@string/settings_show_absolute_number_of_votes_title" /> + </PreferenceScreen>
\ No newline at end of file |