diff options
Diffstat (limited to 'app/src/main/res')
29 files changed, 236 insertions, 291 deletions
diff --git a/app/src/main/res/layout/activity_anonymous_subscriptions.xml b/app/src/main/res/layout/activity_anonymous_subscriptions.xml deleted file mode 100644 index 66efc9bb..00000000 --- a/app/src/main/res/layout/activity_anonymous_subscriptions.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:id="@+id/coordinator_layout_anonymous_subscriptions_activity" - tools:context=".activities.AnonymousSubscriptionsActivity"> - - <com.google.android.material.appbar.AppBarLayout - android:id="@+id/appbar_layout_anonymous_subscriptions_activity" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:theme="@style/AppTheme.AppBarOverlay"> - - <com.google.android.material.appbar.CollapsingToolbarLayout - android:id="@+id/collapsing_toolbar_layout_anonymous_subscriptions_activity" - android:layout_width="match_parent" - android:layout_height="match_parent" - app:layout_scrollFlags="scroll|enterAlways" - app:titleEnabled="false" - app:toolbarId="@+id/toolbar_subreddit_selection_activity"> - - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar_anonymous_subscriptions_activity" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?attr/actionBarSize" - app:popupTheme="@style/AppTheme.PopupOverlay" - app:navigationIcon="?attr/homeAsUpIndicator" /> - - </com.google.android.material.appbar.CollapsingToolbarLayout> - - </com.google.android.material.appbar.AppBarLayout> - - <androidx.fragment.app.FragmentContainerView - android:id="@+id/frame_layout_anonymous_subscriptions_activity" - android:layout_width="match_parent" - android:layout_height="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" /> - -</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml index f3ed6751..5649a70c 100644 --- a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml @@ -7,18 +7,6 @@ android:orientation="vertical" tools:application=".FlairBottomSheetFragment"> - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="32dp" - android:paddingEnd="32dp" - android:text="@string/flair" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_18" - android:fontFamily="?attr/font_family" /> - <ProgressBar android:id="@+id/progress_bar_flair_bottom_sheet_fragment" android:layout_width="wrap_content" diff --git a/app/src/main/res/layout/item_custom_theme_switch_item.xml b/app/src/main/res/layout/item_custom_theme_switch_item.xml index 9b6ef0ef..9c29b265 100644 --- a/app/src/main/res/layout/item_custom_theme_switch_item.xml +++ b/app/src/main/res/layout/item_custom_theme_switch_item.xml @@ -34,7 +34,7 @@ </LinearLayout> - <Switch + <com.google.android.material.switchmaterial.SwitchMaterial android:id="@+id/theme_item_switch_item_custom_theme_switch_item" android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index ac0c1bd3..490e7243 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -1,5 +1,4 @@ <resources> - <string name="application_name" translatable="false">Infinity</string> <string name="login_activity_label">Вхід</string> <string name="search_activity_label" translatable="false"> </string> <string name="comment_activity_label">Надіслати коментар</string> 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" /> diff --git a/app/src/main/res/xml/about_preferences.xml b/app/src/main/res/xml/about_preferences.xml index d451d84b..cff7c151 100644 --- a/app/src/main/res/xml/about_preferences.xml +++ b/app/src/main/res/xml/about_preferences.xml @@ -2,55 +2,55 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_acknowledgement_master_title" app:fragment="ml.docilealligator.infinityforreddit.settings.AcknowledgementFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_credits_master_title" app:fragment="ml.docilealligator.infinityforreddit.settings.CreditsPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="translation" app:title="@string/settings_translation_title" app:summary="@string/settings_translation_summary" app:fragment="ml.docilealligator.infinityforreddit.settings.TranslationFragment"/> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="open_source" app:title="@string/settings_open_source_title" app:summary="@string/settings_open_source_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="rate" app:title="@string/settings_rate_title" app:summary="@string/settings_rate_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="email" app:title="@string/settings_email_title" app:summary="@string/settings_email_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="reddit_account" app:title="@string/settings_reddit_account_title" app:summary="@string/settings_reddit_account_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="subreddit" app:title="@string/settings_subreddit_title" app:summary="@string/settings_subreddit_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="share" app:title="@string/settings_share_title" app:summary="@string/settings_share_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="privacy_policy" app:title="@string/settings_privacy_policy_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="version" app:title="@string/settings_version_title" app:summary="@string/settings_version_summary" /> diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml index 3bc0ce77..607c3c2b 100644 --- a/app/src/main/res/xml/advanced_preferences.xml +++ b/app/src/main/res/xml/advanced_preferences.xml @@ -2,51 +2,51 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_all_subreddits_data_in_database" app:title="@string/settings_delete_all_subreddits_data_in_database_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_all_users_data_in_database" app:title="@string/settings_delete_all_users_data_in_database_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_all_sort_type_data_in_database" app:title="@string/settings_delete_all_sort_type_data_in_database_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_all_post_layout_data_in_database" app:title="@string/settings_delete_all_post_layout_data_in_database_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_all_themes_in_database" app:title="@string/settings_delete_all_themes_in_database_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_front_page_scrolled_positions_in_database" app:title="@string/settings_delete_front_page_scrolled_positions_in_database_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_read_posts_in_database" app:title="@string/settings_delete_read_posts_in_database_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_all_legacy_settings" app:title="@string/settings_delete_all_legacy_settings_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="reset_all_settings" app:title="@string/settings_reset_all_settings_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="backup_settings" app:title="@string/settings_backup_settings_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="restore_settings" app:title="@string/settings_restore_settings_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_crash_reports_title" app:fragment="ml.docilealligator.infinityforreddit.settings.CrashReportsFragment" /> diff --git a/app/src/main/res/xml/comment_preferences.xml b/app/src/main/res/xml/comment_preferences.xml index a9510dc5..db82bde9 100644 --- a/app/src/main/res/xml/comment_preferences.xml +++ b/app/src/main/res/xml/comment_preferences.xml @@ -2,32 +2,32 @@ <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="false" app:key="show_top_level_comments_first" app:title="@string/settings_show_top_level_comments_first_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="show_comment_divider" app:title="@string/settings_show_comment_divider_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="show_only_one_comment_level_indicator" app:title="@string/settings_show_only_one_comment_level_indicator" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="comment_toolbar_hidden" app:title="@string/settings_comment_toolbar_hidden" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="comment_toolbar_hide_on_click" app:title="@string/settings_comment_toolbar_hide_on_click" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="fully_collapse_comment" android:title="@string/settings_fully_collapse_comment_title" /> diff --git a/app/src/main/res/xml/credits_preferences.xml b/app/src/main/res/xml/credits_preferences.xml index f7145096..0efc2e2f 100644 --- a/app/src/main/res/xml/credits_preferences.xml +++ b/app/src/main/res/xml/credits_preferences.xml @@ -2,61 +2,61 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="icon_foreground" app:title="@string/settings_credits_icon_foreground_title" android:summary="@string/settings_credits_icon_foreground_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="icon_background" app:title="@string/settings_credits_icon_background_title" android:summary="@string/settings_credits_icon_background_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="error_image" app:title="@string/settings_credits_error_image_title" android:summary="@string/settings_credits_error_image_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="gilded_icon" app:title="@string/settings_credits_gilded_icon_title" android:summary="@string/settings_credits_gilded_icon_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="crosspost_icon" app:title="@string/settings_credits_crosspost_icon_title" android:summary="@string/settings_credits_crosspost_icon_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="thumbtack_icon" app:title="@string/settings_credits_thumbtack_icon_title" android:summary="@string/settings_credits_thumbtack_icon_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="best_rocket_icon" app:title="@string/settings_credits_best_rocket_icon_title" android:summary="@string/settings_credits_best_rocket_icon_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:key="material_icons" app:title="@string/settings_credits_material_icons_title"/> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="national_flags" app:title="@string/settings_credits_national_flags" android:summary="@string/settings_credits_national_flags_summary" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="ufo_capturing_animation" app:title="@string/settings_credits_ufo_capturing_animation_title" android:summary="https://lottiefiles.com/33858-ufo-capturing-animation" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="love_animation" app:title="@string/settings_credits_love_animation_title" android:summary="https://lottiefiles.com/52103-love" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="lock_screen_animation" app:title="@string/settings_credits_lock_screen_animation_title" android:summary="https://lottiefiles.com/69178-cool" /> diff --git a/app/src/main/res/xml/data_saving_mode_preferences.xml b/app/src/main/res/xml/data_saving_mode_preferences.xml index 6ff3f04a..4c348335 100644 --- a/app/src/main/res/xml/data_saving_mode_preferences.xml +++ b/app/src/main/res/xml/data_saving_mode_preferences.xml @@ -2,12 +2,12 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 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/settings_data_saving_mode_info_summary" app:enabled="false" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0" app:key="data_saving_mode" android:title="@string/settings_data_saving_mode" @@ -15,12 +15,12 @@ app:entryValues="@array/settings_data_saving_mode_values" app:useSimpleSummaryProvider="true" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="disable_image_preview" android:title="@string/settings_disable_image_preview_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="only_disable_preview_in_video_and_gif_posts" android:title="@string/settings_only_disable_preview_in_video_and_gif_posts_title" /> diff --git a/app/src/main/res/xml/download_location_preferences.xml b/app/src/main/res/xml/download_location_preferences.xml index 6745aecf..f7ae425e 100644 --- a/app/src/main/res/xml/download_location_preferences.xml +++ b/app/src/main/res/xml/download_location_preferences.xml @@ -1,30 +1,30 @@ <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="image_download_location" app:title="@string/settings_image_download_location_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="gif_download_location" app:title="@string/settings_gif_download_location_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="video_download_location" app:title="@string/settings_video_download_location_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="separate_folder_for_each_subreddit" app:title="@string/settings_separate_folder_for_each_subreddit" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/nsfw" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="save_nsfw_media_in_different_folder" app:title="@string/settings_save_nsfw_media_in_different_folder_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="nsfw_download_location" app:title="@string/settings_nsfw_download_location_title" /> </PreferenceScreen>
\ No newline at end of file diff --git a/app/src/main/res/xml/font_preferences.xml b/app/src/main/res/xml/font_preferences.xml index 541c487a..24b1febe 100644 --- a/app/src/main/res/xml/font_preferences.xml +++ b/app/src/main/res/xml/font_preferences.xml @@ -2,14 +2,14 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_preview_font_title" app:fragment="ml.docilealligator.infinityforreddit.settings.FontPreviewFragment" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/settings_font_summary" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="Default" android:entries="@array/settings_font_family" app:entryValues="@array/settings_font_family_values" @@ -17,7 +17,7 @@ app:title="@string/settings_font_family_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="Normal" android:entries="@array/settings_font_size" app:entryValues="@array/settings_font_size_values" @@ -25,10 +25,10 @@ app:title="@string/settings_font_size_title" app:useSimpleSummaryProvider="true" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/settings_title_font_summary" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="Default" android:entries="@array/settings_font_family" app:entryValues="@array/settings_font_family_values" @@ -36,7 +36,7 @@ app:title="@string/settings_title_font_family_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="Normal" android:entries="@array/settings_title_font_size" app:entryValues="@array/settings_title_font_size_values" @@ -44,10 +44,10 @@ app:title="@string/settings_title_font_size_title" app:useSimpleSummaryProvider="true" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/settings_content_font_summary" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="Default" android:entries="@array/settings_font_family" app:entryValues="@array/settings_font_family_values" @@ -55,7 +55,7 @@ app:title="@string/settings_content_font_family_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="Normal" android:entries="@array/settings_content_font_size" app:entryValues="@array/settings_content_font_size_values" diff --git a/app/src/main/res/xml/gestures_and_buttons_preferences.xml b/app/src/main/res/xml/gestures_and_buttons_preferences.xml index 2784977a..ac86e8d6 100644 --- a/app/src/main/res/xml/gestures_and_buttons_preferences.xml +++ b/app/src/main/res/xml/gestures_and_buttons_preferences.xml @@ -1,66 +1,66 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="swipe_to_go_back_from_post_detail" app:title="@string/settings_swipe_to_go_back_title" app:summary="@string/settings_swipe_to_go_back_summary" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="swipe_vertically_to_go_back_from_media" app:title="@string/settings_swipe_vertically_to_go_back_from_media_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="lock_jump_to_next_top_level_comment_button" app:title="@string/settings_lock_jump_to_next_top_level_comment_button_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="swipe_up_to_hide_jump_to_next_top_level_comments_button" app:title="@string/settings_swipe_up_to_hide_jump_to_next_top_level_comment_button_title" app:isPreferenceVisible="false" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="lock_bottom_app_bar" app:title="@string/settings_lock_bottom_app_bar_title" app:isPreferenceVisible="false" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="volume_keys_navigate_comments" app:title="@string/settings_volume_keys_navigate_comments_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="volume_keys_navigate_posts" app:title="@string/settings_volume_keys_navigate_posts_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="swap_tap_and_long_in_comments" app:title="@string/settings_swap_tap_and_long_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="pull_to_refresh" app:title="@string/settings_pull_to_refresh_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="swipe_between_posts" app:title="@string/settings_swipe_between_posts_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="pinch_to_zoom_video" app:title="@string/settings_pinch_to_zoom_video_title" app:summary="@string/settings_experimental_feature" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_swipe_action_title" app:fragment="ml.docilealligator.infinityforreddit.settings.SwipeActionPreferenceFragment" /> diff --git a/app/src/main/res/xml/immersive_interface_preferences.xml b/app/src/main/res/xml/immersive_interface_preferences.xml index 5897108a..c4b30900 100644 --- a/app/src/main/res/xml/immersive_interface_preferences.xml +++ b/app/src/main/res/xml/immersive_interface_preferences.xml @@ -1,19 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="immersive_interface" app:title="@string/settings_immersive_interface_title" app:summary="@string/settings_immersive_interface_summary" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="immersive_interface_ignore_nav_bar" app:title="@string/settings_immersive_interface_ignore_nav_bar_title" app:summary="@string/settings_immersive_interface_ignore_nav_bar_summary" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="disable_immersive_interface_in_landscape_mode" app:title="@string/settings_disable_immersive_interface_in_landscape_mode"/> diff --git a/app/src/main/res/xml/interface_preferences.xml b/app/src/main/res/xml/interface_preferences.xml index c948d4e8..ffa3b719 100644 --- a/app/src/main/res/xml/interface_preferences.xml +++ b/app/src/main/res/xml/interface_preferences.xml @@ -1,45 +1,45 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_font_title" app:icon="@drawable/ic_font_size_24dp" app:fragment="ml.docilealligator.infinityforreddit.settings.FontPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="immersive_interface_entry" app:title="@string/settings_immersive_interface_title" app:fragment="ml.docilealligator.infinityforreddit.settings.ImmersiveInterfacePreferenceFragment" app:isPreferenceVisible="false" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_navigation_drawer_title" app:fragment="ml.docilealligator.infinityforreddit.settings.NavigationDrawerPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_customize_tabs_in_main_page_title" app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeMainPageTabsFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_customize_bottom_app_bar_title" app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeBottomAppBarFragment" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="bottom_app_bar" app:title="@string/settings_enable_bottom_app_bar_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="hide_subreddit_description" app:title="@string/settings_hide_subreddit_description_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="use_bottom_toolbar_in_media_viewer" app:title="@string/settings_use_bottom_toolbar_in_media_viewer_title" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0" app:entries="@array/settings_default_search_result_tab" app:entryValues="@array/settings_default_search_result_tab_values" @@ -47,31 +47,31 @@ app:title="@string/settings_default_search_result_tab" app:useSimpleSummaryProvider="true" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_time_format_title" app:fragment="ml.docilealligator.infinityforreddit.settings.TimeFormatPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_category_post_title" app:fragment="ml.docilealligator.infinityforreddit.settings.PostPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_post_details_title" app:fragment="ml.docilealligator.infinityforreddit.settings.PostDetailsPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_category_comment_title" app:fragment="ml.docilealligator.infinityforreddit.settings.CommentPreferenceFragment" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/settings_category_post_and_comment_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="vote_buttons_on_the_right" app:title="@string/settings_vote_buttons_on_the_right_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="show_absolute_number_of_votes" app:title="@string/settings_show_absolute_number_of_votes_title" /> diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 8f271856..0fdba51b 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -2,32 +2,32 @@ <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_outline_notifications_24dp" app:title="@string/settings_notification_master_title" app:fragment="ml.docilealligator.infinityforreddit.settings.NotificationPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_interface_24dp" app:title="@string/settings_interface_title" app:fragment="ml.docilealligator.infinityforreddit.settings.InterfacePreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_theme_title" app:icon="@drawable/ic_outline_color_lens_24dp" app:fragment="ml.docilealligator.infinityforreddit.settings.ThemePreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_gesture_24dp" app:title="@string/settings_gestures_and_buttons_title" app:fragment="ml.docilealligator.infinityforreddit.settings.GesturesAndButtonsPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settigns_video_title" android:icon="@drawable/ic_outline_video_24dp" app:fragment="ml.docilealligator.infinityforreddit.settings.VideoPreferenceFragment" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="2.5" android:entries="@array/settings_lazy_mode_interval" app:entryValues="@array/settings_lazy_mode_interval_values" @@ -36,53 +36,53 @@ app:title="@string/settings_lazy_mode_interval_title" app:useSimpleSummaryProvider="true" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_download_location_title" android:icon="@drawable/ic_download_24dp" app:fragment="ml.docilealligator.infinityforreddit.settings.DownloadLocationPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="security" app:title="@string/settings_security_title" app:icon="@drawable/ic_security_24dp" app:fragment="ml.docilealligator.infinityforreddit.settings.SecurityPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_data_saving_mode" app:icon="@drawable/ic_data_saving_mode_24dp" app:fragment="ml.docilealligator.infinityforreddit.settings.DataSavingModePreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_nsfw_on_24dp" app:title="@string/settings_nsfw_and_spoiler_title" app:fragment="ml.docilealligator.infinityforreddit.settings.NsfwAndSpoilerFragment"/> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_history_24dp" android:title="@string/settings_post_history_title" app:fragment="ml.docilealligator.infinityforreddit.settings.PostHistoryFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="post_filter" app:icon="@drawable/ic_filter_24dp" app:title="@string/settings_post_filter_title" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_sort_24dp" app:title="@string/settings_sort_type_title" app:fragment="ml.docilealligator.infinityforreddit.settings.SortTypePreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:icon="@drawable/ic_miscellaneous_24dp" app:title="@string/settings_miscellaneous_title" app:fragment="ml.docilealligator.infinityforreddit.settings.MiscellaneousPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:icon="@drawable/ic_advanced_24dp" app:title="@string/settings_advanced_master_title" app:fragment="ml.docilealligator.infinityforreddit.settings.AdvancedPreferenceFragment" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android:icon="@drawable/ic_about_24dp" app:title="@string/settings_about_master_title" app:fragment="ml.docilealligator.infinityforreddit.settings.AboutPreferenceFragment" /> diff --git a/app/src/main/res/xml/miscellaneous_preferences.xml b/app/src/main/res/xml/miscellaneous_preferences.xml index 990513a0..132df3d8 100644 --- a/app/src/main/res/xml/miscellaneous_preferences.xml +++ b/app/src/main/res/xml/miscellaneous_preferences.xml @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="save_front_page_scrolled_position" app:title="@string/settings_save_front_page_scrolled_position_title" app:summary="@string/settings_save_front_page_scrolled_position_summary" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0" app:entries="@array/link_handler" app:entryValues="@array/link_handler_values" @@ -16,7 +16,7 @@ app:title="@string/settings_link_handler_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0" app:entries="@array/main_page_back_button_action" app:entryValues="@array/main_page_back_button_action_values" @@ -25,13 +25,13 @@ app:title="@string/settings_main_page_back_button_action" app:useSimpleSummaryProvider="true" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="enable_search_history" app:title="@string/settings_enable_search_history_title" app:summary="@string/only_for_logged_in_user" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="auto" app:entries="@array/settings_language" app:entryValues="@array/settings_language_values" diff --git a/app/src/main/res/xml/navigation_drawer_preferences.xml b/app/src/main/res/xml/navigation_drawer_preferences.xml index b34a32e7..85879aee 100644 --- a/app/src/main/res/xml/navigation_drawer_preferences.xml +++ b/app/src/main/res/xml/navigation_drawer_preferences.xml @@ -1,52 +1,52 @@ <?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="show_avatar_on_the_right" app:title="@string/settings_show_avatar_on_the_right" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="collapse_account_section" app:title="@string/settings_collapse_account_section_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="collapse_reddit_section" app:title="@string/settings_collapse_reddit_section_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="collapse_post_section" app:title="@string/settings_collapse_post_section_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="collapse_preferences_section" app:title="@string/settings_collapse_preferences_section_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="collapse_favorite_subreddits_section" app:title="@string/settings_collapse_favorite_subreddits_section_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="collapse_subscribed_subreddits_section" app:title="@string/settings_collapse_subscribed_subreddits_section_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="hide_favorite_subreddits_sections" app:title="@string/settings_hide_favorite_subreddits_sections_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="hide_subscribed_subreddits_sections" app:title="@string/settings_hide_subscribed_subreddits_sections_title" /> diff --git a/app/src/main/res/xml/notification_preferences.xml b/app/src/main/res/xml/notification_preferences.xml index 2b547479..f9c292c4 100644 --- a/app/src/main/res/xml/notification_preferences.xml +++ b/app/src/main/res/xml/notification_preferences.xml @@ -2,13 +2,13 @@ <androidx.preference.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="enable_notification" app:icon="@drawable/ic_outline_notifications_24dp" app:title="@string/settings_notification_enable_notification_title"/> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="1" app:entries="@array/settings_notification_interval" app:entryValues="@array/settings_notification_interval_values" diff --git a/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml b/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml index 6287bfbb..08bf1e63 100644 --- a/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml +++ b/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml @@ -2,20 +2,20 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference android: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 android: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" @@ -23,7 +23,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" @@ -31,7 +31,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" @@ -40,7 +40,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" @@ -49,10 +49,10 @@ app:useSimpleSummaryProvider="true" app:dependency="enable_fold_support"/> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory android: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" @@ -60,7 +60,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" @@ -68,10 +68,10 @@ app:title="@string/settings_number_of_columns_in_post_feed_landscape_title" app:useSimpleSummaryProvider="true" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory android: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" @@ -79,7 +79,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" @@ -87,10 +87,10 @@ app:title="@string/settings_number_of_columns_in_post_feed_landscape_title" app:useSimpleSummaryProvider="true" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory android: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" @@ -98,7 +98,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/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml index e549cb42..ceb07dcb 100644 --- a/app/src/main/res/xml/post_details_preferences.xml +++ b/app/src/main/res/xml/post_details_preferences.xml @@ -2,38 +2,38 @@ <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_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" /> diff --git a/app/src/main/res/xml/post_preferences.xml b/app/src/main/res/xml/post_preferences.xml index 55f9f5c2..7b3059e6 100644 --- a/app/src/main/res/xml/post_preferences.xml +++ b/app/src/main/res/xml/post_preferences.xml @@ -2,7 +2,7 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0" android:entries="@array/settings_default_post_layout" app:entryValues="@array/settings_default_post_layout_values" @@ -10,7 +10,7 @@ app:title="@string/settings_default_post_layout" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="-1" android:entries="@array/settings_default_link_post_layout" app:entryValues="@array/settings_default_link_post_layout_values" @@ -18,67 +18,67 @@ app:title="@string/settings_default_link_post_layout" app:useSimpleSummaryProvider="true" /> - <Preference + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:title="@string/settings_number_of_columns_in_post_feed_title" app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" /> - <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" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/post_layout_compact" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="show_divider_in_compact_layout" app:title="@string/settings_show_divider_in_compact_layout" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="show_thumbnail_on_the_left_in_compact_layout" app:title="@string/settings_show_thumbnail_on_the_left_in_compact_layout" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="long_press_to_hide_toolbar_in_compact_layout" app:title="@string/settings_long_press_to_hide_toolbar_in_compact_layout_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="post_compact_layout_toolbar_hidden_by_default" app:title="@string/settings_post_compact_layout_toolbar_hidden_by_default_title" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/post_layout_gallery" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference android:defaultValue="false" app:key="click_to_show_media_in_gallery_layout" app:title="@string/settings_click_to_show_media_in_gallery_layout" /> diff --git a/app/src/main/res/xml/security_preferences.xml b/app/src/main/res/xml/security_preferences.xml index d1f2fbc2..ea150dcf 100644 --- a/app/src/main/res/xml/security_preferences.xml +++ b/app/src/main/res/xml/security_preferences.xml @@ -1,24 +1,24 @@ <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="require_auth_to_account_section" app:title="@string/settings_require_authentication_to_go_to_account_section_in_navigation_drawer_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="secure_mode" app:title="@string/settings_secure_mode_title" app:summary="@string/settings_secure_mode_summary" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="app_lock" app:icon="@drawable/ic_outline_lock_24dp" app:title="@string/settings_app_lock_title" app:summary="@string/settings_app_lock_summary" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="600000" app:entries="@array/settings_app_lock_timeout" app:entryValues="@array/settings_app_lock_timeout_values" diff --git a/app/src/main/res/xml/sort_type_preferences.xml b/app/src/main/res/xml/sort_type_preferences.xml index 88b2a5f0..c985faf5 100644 --- a/app/src/main/res/xml/sort_type_preferences.xml +++ b/app/src/main/res/xml/sort_type_preferences.xml @@ -2,12 +2,12 @@ <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="save_sort_type" app:title="@string/settings_save_sort_type_title" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="HOT" app:entries="@array/settings_subreddit_default_sort_type" app:entryValues="@array/settings_subreddit_default_sort_type_values" @@ -15,7 +15,7 @@ app:title="@string/settings_subreddit_default_sort_type_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="ALL" app:entries="@array/settings_default_sort_time" app:entryValues="@array/settings_default_sort_time_values" @@ -23,7 +23,7 @@ app:title="@string/settings_subreddit_default_sort_time_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="NEW" app:entries="@array/settings_user_default_sort_type" app:entryValues="@array/settings_user_default_sort_type_values" @@ -31,7 +31,7 @@ app:title="@string/settings_user_default_sort_type_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="ALL" app:entries="@array/settings_default_sort_time" app:entryValues="@array/settings_default_sort_time_values" @@ -39,7 +39,7 @@ app:title="@string/settings_user_default_sort_time_title" app:useSimpleSummaryProvider="true" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="respect_subreddit_recommended_comment_sort_type" app:title="@string/settings_respect_subreddit_recommended_comment_sort_type_title" diff --git a/app/src/main/res/xml/swipe_action_preferences.xml b/app/src/main/res/xml/swipe_action_preferences.xml index efdbed67..6ee0bac7 100644 --- a/app/src/main/res/xml/swipe_action_preferences.xml +++ b/app/src/main/res/xml/swipe_action_preferences.xml @@ -1,17 +1,17 @@ <?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/settings_swipe_action_info_summary" app:enabled="false" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="enable_swipe_action" app:title="@string/settings_enable_swipe_action_title" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0" app:entries="@array/settings_swipe_actions" app:entryValues="@array/settings_swipe_actions_values" @@ -19,7 +19,7 @@ app:title="@string/settings_swipe_action_swipe_left_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="1" app:entries="@array/settings_swipe_actions" app:entryValues="@array/settings_swipe_actions_values" @@ -27,7 +27,7 @@ app:title="@string/settings_swipe_action_swipe_right_title" app:useSimpleSummaryProvider="true" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0.3" app:entries="@array/settings_swipe_action_threshold" app:entryValues="@array/settings_swipe_action_threshold" @@ -35,12 +35,12 @@ app:title="@string/settings_swipe_action_threshold" app:useSimpleSummaryProvider="true" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="vibrate_when_action_triggered" app:title="@string/settings_swipe_action_haptic_feedback_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="disable_swiping_between_tabs" app:title="@string/settings_disable_swiping_between_tabs_title" /> 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" /> diff --git a/app/src/main/res/xml/time_format_preferences.xml b/app/src/main/res/xml/time_format_preferences.xml index a6080d32..b3ff0807 100644 --- a/app/src/main/res/xml/time_format_preferences.xml +++ b/app/src/main/res/xml/time_format_preferences.xml @@ -1,12 +1,12 @@ <?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"> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="show_elapsed_time" app:title="@string/settings_show_elapsed_time" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="MMM d, yyyy, HH:mm" app:entries="@array/settings_time_format" app:entryValues="@array/settings_time_format_values" diff --git a/app/src/main/res/xml/video_preferences.xml b/app/src/main/res/xml/video_preferences.xml index 3095c477..8b1663fc 100644 --- a/app/src/main/res/xml/video_preferences.xml +++ b/app/src/main/res/xml/video_preferences.xml @@ -2,41 +2,41 @@ <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="false" app:key="mute_video" app:icon="@drawable/ic_mute_preferences_24dp" app:title="@string/settings_mute_video_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="mute_nsfw_video" app:icon="@drawable/ic_mute_preferences_24dp" app:title="@string/settings_mute_nsfw_video_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="automatically_try_redgifs" app:title="@string/settings_automatically_try_redgifs_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="video_player_ignore_nav_bar" app:title="@string/settings_video_player_ignore_nav_bar_title" app:summary="@string/settings_video_player_ignore_nav_bar_summary" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="video_player_automatic_landscape_orientation" app:title="@string/settings_video_player_automatic_landscape_orientation" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="loop_video" app:title="@string/settings_loop_video_title" app:summary="@string/settings_loop_video_summary" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="100" android:entries="@array/default_playback_speed" app:entryValues="@array/default_playback_speed_values" @@ -44,10 +44,10 @@ app:title="@string/settings_default_playback_speed_title" app:useSimpleSummaryProvider="true" /> - <PreferenceCategory + <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory app:title="@string/settings_video_autoplay_title" /> - <ListPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference app:defaultValue="0" android:entries="@array/settings_video_autoplay" app:entryValues="@array/settings_video_autoplay_values" @@ -55,36 +55,36 @@ app:title="@string/settings_video_autoplay_title" app:useSimpleSummaryProvider="true" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="legacy_autoplay_video_controller_ui" app:title="@string/settings_legacy_autoplay_video_controller_ui_title" app:summary="@string/restart_app_see_changes" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="mute_autoplaying_videos" app:icon="@drawable/ic_mute_preferences_24dp" app:title="@string/settings_mute_autoplaying_videos_title" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="remember_muting_option_in_post_feed" app:title="@string/settings_remember_muting_option_in_post_feed" /> - <SwitchPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" app:key="autoplay_nsfw_videos" app:title="@string/settings_autoplay_nsfw_videos_title" /> - <SeekBarPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSeekBarPreference app:defaultValue="75" android:max="100" app:key="start_autoplay_visible_area_offset_portrait" app:title="@string/settings_start_autoplay_visible_area_offset_portrait_title" app:singleLineTitle="false" /> - <SeekBarPreference + <ml.docilealligator.infinityforreddit.customviews.CustomFontSeekBarPreference app:defaultValue="50" android:max="100" app:key="start_autoplay_visible_area_offset_landscape" |