diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-02-20 07:10:50 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-02-20 07:10:50 +0000 |
commit | d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac (patch) | |
tree | 2aab31e5591df0378283fee51ce53f44690c3030 /app/src/main/res/xml/interface_preference.xml | |
parent | 59465390a9e5ec06bfd8d3b46fbcaeedf560f563 (diff) | |
download | infinity-for-reddit-d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac.tar infinity-for-reddit-d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac.tar.gz infinity-for-reddit-d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac.tar.bz2 infinity-for-reddit-d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac.tar.lz infinity-for-reddit-d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac.tar.xz infinity-for-reddit-d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac.tar.zst infinity-for-reddit-d9b9a7c3c13303e2f61b2cb557ab96ec1a23a7ac.zip |
Add an option to show comment dividers. Put theme option to InterfacePreferenceFragment.
Diffstat (limited to 'app/src/main/res/xml/interface_preference.xml')
-rw-r--r-- | app/src/main/res/xml/interface_preference.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index 626f1333..f3e1dabe 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -2,6 +2,19 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> + <ListPreference + app:defaultValue="2" + app:entryValues="@array/settings_theme_values" + app:key="theme" + app:icon="@drawable/ic_outline_color_lens_24px" + app:title="@string/settings_theme_title" + app:useSimpleSummaryProvider="true" /> + + <SwitchPreference + app:defaultValue="false" + app:key="amoled_dark" + app:title="@string/settings_amoled_dark_title" /> + <Preference app:title="@string/settings_font_size_title" app:icon="@drawable/ic_font_size_24dp" @@ -46,4 +59,9 @@ app:key="show_top_level_comments_first" app:title="@string/settings_show_top_level_comments_first_title" /> + <SwitchPreference + app:defaultValue="false" + app:key="show_comment_divider" + app:title="@string/settings_show_comment_divider_title" /> + </PreferenceScreen>
\ No newline at end of file |