aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/preferences_media.xml
blob: 3c2d9c09ef07a05e0cbff59c7bb8f4f5bde8d0e8 (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<!-- 
     Copyright (C) 2013 The CyanogenMod Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Settings -->
    <PreferenceCategory
        android:key="category_refresh"
        android:title="@string/pref_media_settings">

        <!-- Refresh Interval -->
        <ListPreference
            android:key="ui_media_refresh_interval"
            android:title="@string/pref_media_settings_refresh_interval"
            android:persistent="true"
            android:entries="@array/refresh_intervals_labels"
            android:entryValues="@array/refresh_intervals_values"
            android:defaultValue="0" />

        <!-- Refresh now -->
        <Preference
            android:key="ui_media_refresh_now"
            android:title="@string/pref_media_settings_refresh_now"
            android:summary="@string/pref_media_settings_refresh_now_summary"
            android:persistent="false" />

    </PreferenceCategory>

    <!-- Pictures -->
    <PreferenceCategory
        android:key="category_pictures"
        android:title="@string/pref_media_pictures">

        <!-- Albums -->
        <Preference
            android:key="ui_media_albums"
            android:title="@string/pref_media_albums"
            android:summary="@string/pref_media_albums_summary"
            android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.ChoosePicturesFragment"
            android:persistent="false" />

        <!--  Auto select new albums -->
        <CheckBoxPreference
            android:key="ui_media_auto_select_new"
            android:title="@string/pref_media_auto_select_new"
            android:summary="@string/pref_media_auto_select_new_summary"
            android:defaultValue="true" />

    </PreferenceCategory>

    <!-- Social -->
    <PreferenceCategory
        android:key="category_social"
        android:title="@string/pref_media_social">

        <!-- Google Plus -->
        <Preference
            android:key="social_connector_gplus"
            android:title="@string/social_gplus"
            android:icon="@drawable/ic_social_gplus"
            android:persistent="false" />

        <!-- Facebook -->
        <Preference
            android:key="social_connector_facebook"
            android:title="@string/social_facebook"
            android:icon="@drawable/ic_social_facebook"
            android:persistent="false" />

        <!-- Panoramio -->
        <Preference
            android:key="social_connector_panoramio"
            android:title="@string/social_panoramio"
            android:icon="@drawable/ic_social_panoramio"
            android:persistent="false" />

        <!-- Flickr -->
        <Preference
            android:key="social_connector_flickr"
            android:title="@string/social_flickr"
            android:icon="@drawable/ic_social_flickr"
            android:persistent="false" />

        <!-- Instragram -->
        <Preference
            android:key="social_connector_instragram"
            android:title="@string/social_instagram"
            android:icon="@drawable/ic_social_instagram"
            android:persistent="false" />

        <!-- Pinterest -->
        <Preference
            android:key="social_connector_pinterest"
            android:title="@string/social_pinterest"
            android:icon="@drawable/ic_social_pinterest"
            android:persistent="false" />

        <!-- Pixabay -->
        <Preference
            android:key="social_connector_pixabay"
            android:title="@string/social_pixabay"
            android:icon="@drawable/ic_social_pixabay"
            android:persistent="false" />

    </PreferenceCategory>

</PreferenceScreen>