aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml-sw600dp
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2022-01-13 15:30:55 +0000
committerAlex Ning <chineseperson5@gmail.com>2022-01-13 15:30:55 +0000
commit6f1cd194cb2e573fdc2f3d928be0207ca8fa08df (patch)
treecd6868ffa6b9175bb2fff4af0322d315f86575db /app/src/main/res/xml-sw600dp
parente0c849e13526c4ab8199cf76d13268cd0669a481 (diff)
downloadinfinity-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-sw600dp')
-rw-r--r--app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml32
-rw-r--r--app/src/main/res/xml-sw600dp/post_details_preferences.xml16
2 files changed, 24 insertions, 24 deletions
diff --git a/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml b/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml
index 14b56c16..e7fe6320 100644
--- a/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml
+++ b/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
- <Preference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
app:icon="@drawable/ic_info_preference_24dp"
app:summary="@string/restart_app_see_changes"
app:enabled="false" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="enable_fold_support"
app:title="@string/settings_enable_fold_support_title" />
- <PreferenceCategory
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory
app:title="@string/post_layout_card" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="1"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -21,7 +21,7 @@
app:title="@string/settings_number_of_columns_in_post_feed_portrait_title"
app:useSimpleSummaryProvider="true" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="2"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -29,7 +29,7 @@
app:title="@string/settings_number_of_columns_in_post_feed_landscape_title"
app:useSimpleSummaryProvider="true" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="2"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -38,7 +38,7 @@
app:useSimpleSummaryProvider="true"
app:dependency="enable_fold_support" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="2"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -47,10 +47,10 @@
app:useSimpleSummaryProvider="true"
app:dependency="enable_fold_support"/>
- <PreferenceCategory
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory
app:title="@string/post_layout_card_2" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="1"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -58,7 +58,7 @@
app:title="@string/settings_number_of_columns_in_post_feed_portrait_title"
app:useSimpleSummaryProvider="true" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="2"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -66,10 +66,10 @@
app:title="@string/settings_number_of_columns_in_post_feed_landscape_title"
app:useSimpleSummaryProvider="true" />
- <PreferenceCategory
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory
app:title="@string/post_layout_compact" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="1"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -77,7 +77,7 @@
app:title="@string/settings_number_of_columns_in_post_feed_portrait_title"
app:useSimpleSummaryProvider="true" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="2"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -85,10 +85,10 @@
app:title="@string/settings_number_of_columns_in_post_feed_landscape_title"
app:useSimpleSummaryProvider="true" />
- <PreferenceCategory
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory
app:title="@string/post_layout_gallery" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="2"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
@@ -96,7 +96,7 @@
app:title="@string/settings_number_of_columns_in_post_feed_portrait_title"
app:useSimpleSummaryProvider="true" />
- <ListPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
app:defaultValue="2"
app:entries="@array/settings_number_of_columns_in_post_feed"
app:entryValues="@array/settings_number_of_columns_in_post_feed"
diff --git a/app/src/main/res/xml-sw600dp/post_details_preferences.xml b/app/src/main/res/xml-sw600dp/post_details_preferences.xml
index 0a8cf2c9..cbad3b15 100644
--- a/app/src/main/res/xml-sw600dp/post_details_preferences.xml
+++ b/app/src/main/res/xml-sw600dp/post_details_preferences.xml
@@ -2,44 +2,44 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="true"
app:key="separate_post_and_comments_in_portrait_mode"
app:title="@string/settings_separate_post_and_comments_in_portrait_mode_title"
app:summary="@string/settings_separate_post_and_comments_summary" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="true"
app:key="separate_post_and_comments_in_landscape_mode"
app:title="@string/settings_separate_post_and_comments_in_landscape_mode_title"
app:summary="@string/settings_separate_post_and_comments_summary" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="hide_post_type"
app:title="@string/settings_hide_post_type" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="hide_post_flair"
app:title="@string/settings_hide_post_flair" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="hide_the_number_of_awards"
app:title="@string/settings_hide_the_number_of_awards" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="hide_subreddit_and_user_prefix"
app:title="@string/settings_hide_subreddit_and_user_prefix" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="hide_the_number_of_votes"
app:title="@string/settings_hide_the_number_of_votes" />
- <SwitchPreference
+ <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="hide_the_number_of_comments"
app:title="@string/settings_hide_the_number_of_comments" />