summaryrefslogtreecommitdiff
path: root/vdrmanager/app/src/main/res/xml/preferences.xml
blob: ec5aff6a812f44a7b43432424a0e6c6c84e587f3 (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
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >

    <PreferenceCategory android:title="@string/vdr_devices_category" >
        <PreferenceScreen
            android:summary="@string/vdr_devices_summary"
            android:title="@string/vdr_devices" >
            <intent
                android:action="android.intent.action.MAIN"
                android:targetClass="de.bjusystems.vdrmanager.gui.VdrListActivity"
                android:targetPackage="de.bjusystems.vdrmanager" />
        </PreferenceScreen>
    </PreferenceCategory>
    <PreferenceCategory
        android:key="gui_preferences"
        android:title="@string/gui_preferences" >
        <CheckBoxPreference
            android:defaultValue="false"
            android:key="@string/gui_channels_show_channel_numbers_key"
            android:summary="@string/gui_channels_show_channel_numbers_summary"
            android:title="@string/gui_channels_show_channel_numbers_title" />

        <EditTextPreference
            android:defaultValue="10"
            android:inputType="number"
            android:key="@string/gui_max_recent_channels_key"
            android:summary="@string/gui_max_recent_channels_summary"
            android:title="@string/gui_max_recent_channels_title" />

        <ListPreference
            android:defaultValue="most"
            android:entries="@array/recent_channels_order_entries"
            android:entryValues="@array/recent_channels_order_entry_values"
            android:key="gui_recent_channels_order"
            android:summary="@string/gui_recent_channels_order_summary"
            android:title="@string/gui_recent_channels_order_title" />

        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/gui_enable_24h_format_key"
            android:summaryOff="@string/gui_enable_24h_format_summary_off"
            android:summaryOn="@string/gui_enable_24h_format_summary_on"
            android:title="@string/gui_enable_24h_format_title" />
        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/qui_show_imdb_button_key"
            android:summaryOff="@string/qui_show_imdb_button_summary_off"
            android:summaryOn="@string/qui_show_imdb_button_summary_on"
            android:title="@string/qui_show_imdb_button_title" />

        <ListPreference
            android:defaultValue="akas.imdb.com"
            android:dependency="@string/qui_show_imdb_button_key"
            android:entries="@array/imdb_urls"
            android:entryValues="@array/imdb_urls_velues"
            android:key="@string/qui_imdb_url_key"
            android:summaryOn="@string/qui_imdb_url_summary"
            android:title="@string/qui_imdb_url_title" />

        <CheckBoxPreference
            android:defaultValue="false"
            android:key="@string/qui_show_omdb_button_key"
            android:summaryOff="@string/qui_show_omdb_button_summary_off"
            android:summaryOn="@string/qui_show_omdb_button_summary_on"
            android:title="@string/qui_show_omdb_button_title" />
        <CheckBoxPreference
            android:defaultValue="false"
            android:key="@string/qui_show_tmdb_button_key"
            android:summaryOff="@string/qui_show_tmdb_button_summary_off"
            android:summaryOn="@string/qui_show_tmdb_button_summary_on"
            android:title="@string/qui_show_tmdb_button_title" />

        <ListPreference
            android:defaultValue="DEFAULT"
            android:entries="@array/lang"
            android:entryValues="@array/lang_values"
            android:key="@string/gui_custom_locale_key"
            android:summary="@string/gui_custom_locale_sum"
            android:title="@string/gui_custom_locale_title" />
    </PreferenceCategory>

    <Preference
        android:key="@string/settings_backup_key"
        android:persistent="false"
        android:summary="@string/settings_backup_summary"
        android:title="@string/settings_backup" />

</PreferenceScreen>