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




                                                                                                
                                                          
                                                              
                                                                                                      
 



                                                                                                   
 
               




                                                                                               


                                                                                                            
 
               


                                                                                               
 




                                                                   
                                                        


                                                             




                                                                                                          
               
                          



                                                                                                  





                                                                                                        
                     
                                


                                                                                   

                     
                                









                                                              
               
                                            

                                                                                              
 
               



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

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

    <Preference
        app:title="@string/settings_theme_title"
        app:icon="@drawable/ic_outline_color_lens_24dp"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.ThemePreferenceFragment" />

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

    <Preference
        app:title="@string/settigns_video_title"
        android:icon="@drawable/ic_outline_video_24dp"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.VideoPreferenceFragment" />

    <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_24dp"
        app:title="@string/settings_lazy_mode_interval_title"
        app:useSimpleSummaryProvider="true" />

    <Preference
        app:title="@string/settings_download_location_title"
        android:icon="@drawable/ic_download_24dp"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.DownloadLocationPreferenceFragment" />

    <Preference
        app:key="security"
        app:title="@string/settings_security_title"
        android:icon="@drawable/ic_security_24dp"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.SecurityPreferenceFragment" />

    <Preference
        app:key="security"
        app:title="@string/settings_data_saving_mode"
        app:icon="@drawable/ic_data_saving_mode_black_24dp"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.DataSavingModePreferenceFragment" />

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

    <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="confirm_to_exit"
        app:icon="@drawable/ic_exit_24dp"
        app:title="@string/settings_confirm_to_exit" />

    <Preference
        app:icon="@drawable/ic_nsfw_on_24dp"
        app:title="@string/settings_nsfw_and_spoiler_title"
        app:fragment="ml.docilealligator.infinityforreddit.Settings.NsfwAndBlurringFragment"/>

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

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

</androidx.preference.PreferenceScreen>