diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-01-31 14:09:46 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-01-31 14:09:46 +0000 |
commit | 02db44e532fc329fecab9c139dae6799ae4269d8 (patch) | |
tree | 1fefe2f80fa3ee7073bcb798099fb2ac74b70c9b /app/src/main/res/xml/interface_preference.xml | |
parent | 119afb6084cbdc3f85889893281082a0640b56ee (diff) | |
download | infinity-for-reddit-02db44e532fc329fecab9c139dae6799ae4269d8.tar infinity-for-reddit-02db44e532fc329fecab9c139dae6799ae4269d8.tar.gz infinity-for-reddit-02db44e532fc329fecab9c139dae6799ae4269d8.tar.bz2 infinity-for-reddit-02db44e532fc329fecab9c139dae6799ae4269d8.tar.lz infinity-for-reddit-02db44e532fc329fecab9c139dae6799ae4269d8.tar.xz infinity-for-reddit-02db44e532fc329fecab9c139dae6799ae4269d8.tar.zst infinity-for-reddit-02db44e532fc329fecab9c139dae6799ae4269d8.zip |
Reorganize settings. Opening link in app is now available.
Diffstat (limited to 'app/src/main/res/xml/interface_preference.xml')
-rw-r--r-- | app/src/main/res/xml/interface_preference.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml new file mode 100644 index 00000000..434a0173 --- /dev/null +++ b/app/src/main/res/xml/interface_preference.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <Preference + app:title="@string/settings_font_size_title" + app:icon="@drawable/ic_font_size_24dp" + app:fragment="ml.docilealligator.infinityforreddit.Settings.FontSizePreferenceFragment" /> + + <SwitchPreference + app:defaultValue="true" + app:key="immersive_interface" + app:title="@string/settings_immersive_interface_title" + app:isPreferenceVisible="false" /> + + <SwitchPreference + app:defaultValue="false" + app:key="bottom_app_bar" + app:title="@string/settings_enable_bottom_app_bar_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="vote_buttons_on_the_right" + app:title="@string/settings_vote_buttons_on_the_right_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="show_elapsed_time" + app:title="@string/settings_show_elapsed_time" /> + + <ListPreference + app:defaultValue="0" + android:entries="@array/settings_default_post_layout" + app:entryValues="@array/settings_default_post_layout_values" + app:key="default_post_layout" + app:title="@string/settings_default_post_layout" + app:useSimpleSummaryProvider="true" /> + + <SwitchPreference + app:defaultValue="true" + app:key="show_divider_in_compact_layout" + app:title="@string/settings_show_divider_in_compact_layout" /> + +</PreferenceScreen>
\ No newline at end of file |