aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/xml/theme_preferences.xml
blob: 9037806bc52a7eb9a14644d7243161be59f23e79 (plain) (tree)
1
2
3
4
5
6
7
8
                                      
                                                                      
    
                                                                              


                                                      
                                                         


                                                
                                                                                

                                
                                                                      

                                                         
                                                                                  

                                                                    
                                                                          
                                       
                                                                     

                                                                
 
                                                                          
                                      
                                                                    

                                                               
 
                                                                          
                                        
                                                                      

                                                                 
 
                                                                          
                               
                                                   
                                                           
 
                                                                                  

                                                                   
                                                                          
                                                              


                                                                          
                                                                                




                                                                     
                                                                          


                                                                    
 
                  
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
    
    <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference
        app:defaultValue="2"
        app:entryValues="@array/settings_theme_values"
        app:key="theme"
        app:icon="@drawable/ic_color_lens_day_night_24dp"
        app:title="@string/settings_theme_title"
        app:useSimpleSummaryProvider="true" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
        app:defaultValue="false"
        app:key="amoled_dark"
        app:icon="@drawable/ic_amoled_theme_preference_day_night_24dp"
        app:title="@string/settings_amoled_dark_title" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory
        app:title="@string/settings_category_customization_title" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
        app:key="customize_light_theme"
        app:icon="@drawable/ic_light_theme_preference_day_night_24dp"
        app:title="@string/settings_customize_light_theme_title"
        app:isPreferenceVisible="false" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
        app:key="customize_dark_theme"
        app:icon="@drawable/ic_dark_theme_preference_day_night_24dp"
        app:title="@string/settings_customize_dark_theme_title"
        app:isPreferenceVisible="false" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
        app:key="customize_amoled_theme"
        app:icon="@drawable/ic_amoled_theme_preference_day_night_24dp"
        app:title="@string/settings_customize_amoled_theme_title"
        app:isPreferenceVisible="false" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
        app:key="manage_themes"
        app:icon="@drawable/ic_edit_day_night_24dp"
        app:title="@string/settings_manage_themes_title" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreferenceCategory
        app:title="@string/settings_category_material_you_title" />

    <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference
        app:icon="@drawable/ic_info_preference_day_night_24dp"
        app:summary="@string/settings_enable_material_you_warning_summary"
        app:enabled="false" />

    <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" />

    <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" />

</PreferenceScreen>