diff options
author | Alex Ning <chineseperson5@gmail.com> | 2022-01-13 15:30:55 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2022-01-13 15:30:55 +0000 |
commit | 6f1cd194cb2e573fdc2f3d928be0207ca8fa08df (patch) | |
tree | cd6868ffa6b9175bb2fff4af0322d315f86575db /app/src/main/res/xml/theme_preferences.xml | |
parent | e0c849e13526c4ab8199cf76d13268cd0669a481 (diff) | |
download | infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.gz infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.bz2 infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.lz infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.xz infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.zst infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.zip |
Continue adding support for custom font.
Diffstat (limited to 'app/src/main/res/xml/theme_preferences.xml')
-rw-r--r-- | app/src/main/res/xml/theme_preferences.xml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/src/main/res/xml/theme_preferences.xml b/app/src/main/res/xml/theme_preferences.xml index 6bac18e4..6c8b9504 100644 --- a/app/src/main/res/xml/theme_preferences.xml +++ b/app/src/main/res/xml/theme_preferences.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="2" app:entryValues="@array/settings_theme_values" app:key="theme" @@ -9,58 +9,58 @@ app:title="@string/settings_theme_title" app:useSimpleSummaryProvider="true" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="amoled_dark" app:icon="@drawable/ic_amoled_theme_preference_24dp" app:title="@string/settings_amoled_dark_title" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/settings_category_customization_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="customize_light_theme" app:icon="@drawable/ic_light_theme_preference_24dp" app:title="@string/settings_customize_light_theme_title" app:isPreferenceVisible="false" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="customize_dark_theme" app:icon="@drawable/ic_dark_theme_preference_24dp" app:title="@string/settings_customize_dark_theme_title" app:isPreferenceVisible="false" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="customize_amoled_theme" app:icon="@drawable/ic_amoled_theme_preference_24dp" app:title="@string/settings_customize_amoled_theme_title" app:isPreferenceVisible="false" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="manage_themes" app:icon="@drawable/ic_edit_24dp" app:title="@string/settings_manage_themes_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_info_preference_24dp" app:summary="@string/settings_custom_theme_cannot_apply_to_settings_page_summary" app:enabled="false" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/settings_category_material_you_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_info_preference_24dp" app:summary="@string/settings_enable_material_you_warning_summary" app:enabled="false" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="enable_material_you" app:title="@string/settings_enable_material_you_title" app:summary="@string/settings_enable_material_you_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="apply_material_you" app:title="@string/settings_apply_material_you_title" app:summary="@string/settings_apply_material_you_summary" /> |