summaryrefslogtreecommitdiff
path: root/ui/preferences/src/main/res/xml/preferences_user_interface.xml
blob: 3730ca828355c856a5c7172763478c4a236b5660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:search="http://schemas.android.com/apk/com.bytehamster.lib.preferencesearch">

    <PreferenceCategory android:title="@string/appearance">
        <de.danoeh.antennapod.ui.preferences.preference.ThemePreference
                android:key="prefTheme" />
        <SwitchPreferenceCompat
                android:title="@string/pref_black_theme_title"
                android:key="prefThemeBlack"
                android:summary="@string/pref_black_theme_message"
                android:defaultValue="false" />
        <SwitchPreferenceCompat
                android:title="@string/pref_tinted_theme_title"
                android:key="prefTintedColors"
                android:summary="@string/pref_tinted_theme_message"
                android:defaultValue="false" />
        <Preference
                android:key="prefHiddenDrawerItems"
                android:summary="@string/pref_nav_drawer_items_sum"
                android:title="@string/pref_nav_drawer_items_title"/>
        <SwitchPreferenceCompat
                android:title="@string/pref_episode_cover_title"
                android:key="prefEpisodeCover"
                android:summary="@string/pref_episode_cover_summary"
                android:defaultValue="true"
                android:enabled="true"/>
        <SwitchPreferenceCompat
                android:title="@string/pref_show_remain_time_title"
                android:key="showTimeLeft"
                android:summary="@string/pref_show_remain_time_summary"
                android:defaultValue="false"
                android:enabled="true"/>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/subscriptions_label">
        <Preference
            android:title="@string/pref_nav_drawer_feed_order_title"
            android:key="prefDrawerFeedOrder"
            android:summary="@string/pref_nav_drawer_feed_order_sum"/>
        <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
            android:entryValues="@array/nav_drawer_feed_counter_values"
            android:entries="@array/nav_drawer_feed_counter_options"
            android:title="@string/pref_nav_drawer_feed_counter_title"
            android:key="prefDrawerFeedIndicator"
            android:summary="@string/pref_nav_drawer_feed_counter_sum"
            android:defaultValue="1"/>
        <Preference
            android:title="@string/pref_filter_feed_title"
            android:key="prefSubscriptionsFilter"
            android:summary="@string/pref_filter_feed_sum" />
        <SwitchPreferenceCompat
            android:title="@string/pref_show_subscription_title"
            android:key="prefSubscriptionTitle"
            android:summary="@string/pref_show_subscription_title_summary"
            android:defaultValue="false" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/external_elements">
        <SwitchPreferenceCompat
                android:defaultValue="false"
                android:enabled="true"
                android:key="prefExpandNotify"
                android:summary="@string/pref_expandNotify_sum"
                android:title="@string/pref_expandNotify_title"
                search:ignore="true"/>
        <SwitchPreferenceCompat
                android:defaultValue="true"
                android:enabled="true"
                android:key="prefPersistNotify"
                android:summary="@string/pref_persistNotify_sum"
                android:title="@string/pref_persistNotify_title"/>
        <Preference
                android:key="prefFullNotificationButtons"
                android:summary="@string/pref_full_notification_buttons_sum"
                android:title="@string/pref_full_notification_buttons_title"/>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/behavior">
        <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
                android:entryValues="@array/default_page_values"
                android:entries="@array/default_page_titles"
                android:key="prefDefaultPage"
                android:title="@string/pref_default_page"
                android:summary="@string/pref_default_page_sum"
                android:defaultValue="HomeFragment"/>
        <SwitchPreferenceCompat
                android:key="prefBackButtonOpensDrawer"
                android:title="@string/pref_back_button_opens_drawer"
                android:summary="@string/pref_back_button_opens_drawer_summary"
                android:defaultValue="false"/>
        <Preference
                android:key="prefSwipe"
                android:summary="@string/swipeactions_summary"
                android:title="@string/swipeactions_label"/>
    </PreferenceCategory>
</PreferenceScreen>