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




                                                                            
                                               
                                              
                                                                                              
 
               
                                           
                                                              
                                                                                                         
                                          
 

                                                                      
                                                     
                                                                                                     
 


                                                                   
                                                                                                     
 

                                
                                

                                                                       
 

                                                      
                                                                                                    
 




                                                                        


                                                                       




                                                                       






                                                                           













                                                                      

                                

                                                                                    
 









                                                                                           

                                                                         
                                                                                                                   
 


                                                              

                                


                                                                           




                                                                  
                     









                                                                     



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

    <Preference
        app:title="@string/settings_font_title"
        app:icon="@drawable/ic_font_size_24dp"
        app:fragment="ml.docilealligator.infinityforreddit.settings.FontPreferenceFragment" />

    <Preference
        app:key="immersive_interface_entry"
        app:title="@string/settings_immersive_interface_title"
        app:fragment="ml.docilealligator.infinityforreddit.settings.ImmersiveInterfacePreferenceFragment"
        app:isPreferenceVisible="false" />

    <Preference
        app:title="@string/settings_customize_tabs_in_main_page_title"
        app:summary="@string/only_for_logged_in_user"
        app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeMainPageTabsFragment" />

    <Preference
        app:title="@string/settings_customize_bottom_app_bar_title"
        app:summary="@string/only_for_logged_in_user"
        app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeBottomAppBarFragment" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="bottom_app_bar"
        app:title="@string/settings_enable_bottom_app_bar_title"
        app:summary="@string/settings_enable_bottom_app_bar_summary" />

    <Preference
        app:title="@string/settings_time_format_title"
        app:fragment="ml.docilealligator.infinityforreddit.settings.TimeFormatPreferenceFragment" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="hide_subreddit_description"
        app:title="@string/settings_hide_subreddit_description_title" />

    <PreferenceCategory
        app:title="@string/settings_category_post_and_comment_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="vote_buttons_on_the_right"
        app:title="@string/settings_vote_buttons_on_the_right_title" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="show_absolute_number_of_votes"
        app:title="@string/settings_show_absolute_number_of_votes_title" />

    <PreferenceCategory
        app:title="@string/settings_category_post_title" />

    <ListPreference
        app:defaultValue="0"
        android:entries="@array/settings_default_post_layout"
        app:entryValues="@array/settings_default_post_layout_values"
        app:key="default_post_layout"
        app:title="@string/settings_default_post_layout"
        app:useSimpleSummaryProvider="true" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="show_divider_in_compact_layout"
        app:title="@string/settings_show_divider_in_compact_layout" />

    <SwitchPreference
        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
        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
        app:defaultValue="false"
        app:key="post_compact_layout_toolbar_hidden_by_default"
        app:title="@string/settings_post_compact_layout_toolbar_hidden_by_default_title" />

    <Preference
        app:title="@string/settings_number_of_columns_in_post_feed_title"
        app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />

    <PreferenceCategory
        app:title="@string/settings_category_comment_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="show_top_level_comments_first"
        app:title="@string/settings_show_top_level_comments_first_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="show_comment_divider"
        app:title="@string/settings_show_comment_divider_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="comment_toolbar_hidden"
        app:title="@string/settings_comment_toolbar_hidden" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="comment_toolbar_hide_on_click"
        app:title="@string/settings_comment_toolbar_hide_on_click" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="fully_collapse_comment"
        android:title="@string/settings_fully_collapse_comment_title" />

</PreferenceScreen>