aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/xml/main_preferences.xml
blob: f79b82345b2aa457487d6135c21b1937b8438455 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                                                                
                                                          
                                                              
                                                                                                      

                   
                            





                                                       




                                                         



                                                                                                   
 



                                                                                                            
 

                                


                                                              
 





                                                         








                                                                   
                     
                                
                      
                                                         
 





                                                    




                                                          
               
                                                       
                                                                                               
 
                                      
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <Preference
        app:icon="@drawable/ic_outline_notifications_24dp"
        app:title="@string/settings_notification_master_title"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.NotificationPreferenceFragment" />

    <ListPreference
        app:defaultValue="2"
        app:entryValues="@array/settings_theme_values"
        app:key="theme"
        app:icon="@drawable/ic_outline_color_lens_24px"
        app:title="@string/settings_theme_title"
        app:useSimpleSummaryProvider="true" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="amoled_dark"
        app:title="@string/settings_amoled_dark_title" />

    <Preference
        app:icon="@drawable/ic_interface_24dp"
        app:title="@string/settings_interface_title"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.InterfacePreferenceFragment" />

    <Preference
        app:icon="@drawable/ic_gesture_24dp"
        app:title="@string/settings_gestures_and_buttons_title"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.GesturesAndButtonsPreferenceFragment" />

    <SwitchPreference
        app:defaultValue="false"
        app:icon="@drawable/ic_link"
        app:key="open_link_in_app"
        app:title="@string/settings_open_link_in_app_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="mute_video"
        android:icon="@drawable/ic_mute_preferences_24dp"
        app:title="@string/settings_mute_video_title" />

    <ListPreference
        app:defaultValue="2.5"
        android:entries="@array/settings_lazy_mode_interval"
        app:entryValues="@array/settings_lazy_mode_interval_values"
        app:key="lazy_mode_interval"
        app:icon="@drawable/ic_outline_access_time_24px"
        app:title="@string/settings_lazy_mode_interval_title"
        app:useSimpleSummaryProvider="true" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="nsfw"
        app:title="@string/settings_enable_nsfw_title" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="blur_nsfw"
        app:title="@string/settings_blur_nsfw_title"
        app:isPreferenceVisible="false" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="blur_spoiler"
        app:title="@string/settings_blur_spoiler_title" />

    <Preference
        app:title="@string/settings_about_master_title"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.AboutPreferenceFragment" />

</androidx.preference.PreferenceScreen>