e09de46daeca0037ac53e856c5a6644fb44c777b
[pub/Android/ownCloud.git] / res / xml / preferences.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012 Bartek Przybylski
6 Copyright (C) 2012-2013 ownCloud Inc.
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License version 2,
10 as published by the Free Software Foundation.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 -->
20 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
21 <PreferenceCategory
22 android:title="@string/prefs_category_accounts"
23 android:key="accounts_category">
24 </PreferenceCategory>
25
26 <PreferenceCategory android:title="@string/prefs_category_security">
27 <!-- ListPreference
28 android:key="select_oc_account"
29 android:title="@string/prefs_select_oc_account"
30 android:summary="@string/prefs_summary_select_oc_account"
31 / -->
32 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:title="@string/prefs_pincode" android:key="set_pincode"
33 android:summary="@string/prefs_pincode_summary"/>
34 </PreferenceCategory>
35
36 <PreferenceCategory android:title="@string/prefs_category_instant_uploading" android:key="instant_uploading_category">
37 <com.owncloud.android.ui.dialog.OwnCloudListPreference android:key="prefs_instant_behaviour"
38 android:dialogTitle="@string/prefs_instant_behaviour_dialogTitle"
39 android:title="@string/prefs_instant_behaviour_title"
40 android:entries="@array/pref_behaviour_entries"
41 android:entryValues="@array/pref_behaviour_entryValues"
42 android:defaultValue="NOTHING"
43 android:summary="%s"
44 />
45
46 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_uploading"
47 android:title="@string/prefs_instant_upload"
48 android:summary="@string/prefs_instant_upload_summary"/>
49 <com.owncloud.android.ui.PreferenceWithLongSummary
50 android:title="@string/prefs_instant_upload_path_title"
51 android:key="instant_upload_path" />
52 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
53 android:key="instant_uploading"
54 android:title="@string/prefs_instant_upload"
55 android:summary="@string/prefs_instant_upload_summary"/>
56 <com.owncloud.android.ui.PreferenceWithLongSummary
57 android:dependency="instant_uploading"
58 android:disableDependentsState="true"
59 android:title="@string/prefs_instant_upload_path_title"
60 android:key="instant_upload_path" />
61 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
62 android:dependency="instant_uploading"
63 android:disableDependentsState="true"
64 android:title="@string/instant_upload_on_wifi"
65 android:key="instant_upload_on_wifi"/>
66 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
67 android:dependency="instant_uploading"
68 android:disableDependentsState="true"
69 android:title="@string/instant_upload_on_charging"
70 android:key="instant_upload_on_charging"/>
71
72 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
73 android:key="instant_video_uploading"
74 android:title="@string/prefs_instant_video_upload"
75 android:summary="@string/prefs_instant_video_upload_summary" />
76 <com.owncloud.android.ui.PreferenceWithLongSummary
77 android:dependency="instant_video_uploading"
78 android:disableDependentsState="true"
79 android:title="@string/prefs_instant_video_upload_path_title"
80 android:key="instant_video_upload_path" />
81 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
82 android:dependency="instant_video_uploading"
83 android:disableDependentsState="true"
84 android:title="@string/instant_video_upload_on_wifi"
85 android:key="instant_video_upload_on_wifi"/>
86 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
87 android:dependency="instant_video_uploading"
88 android:disableDependentsState="true"
89 android:title="@string/instant_video_upload_on_charging"
90 android:key="instant_video_upload_on_charging"/>
91 </PreferenceCategory>
92
93 <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
94 <!-- DISABLED FOR RELEASE UNTIL FIXED
95 CheckBoxPreference android:key="log_to_file"
96 android:title="@string/prefs_log_title"
97 android:summary="@string/prefs_log_summary"/>
98 <Preference android:key="log_history"
99 android:title="@string/prefs_log_title_history"
100 android:summary="@string/prefs_log_summary_history"/ -->
101
102 </PreferenceCategory>
103
104 <PreferenceCategory android:title="@string/common_category" android:key="common_category">
105 <EditTextPreference android:title="@string/pref_cache_size"
106 android:key="pref_cache_size"
107 android:digits="0123456789"/>
108 </PreferenceCategory>
109
110 <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
111 <Preference android:title="@string/prefs_help" android:key="help" />
112 <Preference android:title="@string/prefs_recommend" android:key="recommend" />
113 <Preference android:title="@string/prefs_feedback" android:key="feedback" />
114 <Preference android:title="@string/prefs_imprint" android:key="imprint" />
115
116 <Preference android:id="@+id/about_app"
117 android:title="@string/about_title"
118 android:key="about_app" />
119 </PreferenceCategory>
120
121
122 </PreferenceScreen>