fixed #1228
[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 <android.preference.CheckBoxPreference android:title="@string/prefs_passcode" android:key="set_pincode" />
28 </PreferenceCategory>
29
30 <PreferenceCategory android:title="@string/prefs_category_instant_uploading" android:key="instant_uploading_category">
31 <com.owncloud.android.ui.dialog.OwnCloudListPreference android:key="prefs_instant_behaviour"
32 android:dialogTitle="@string/prefs_instant_behaviour_dialogTitle"
33 android:title="@string/prefs_instant_behaviour_title"
34 android:entries="@array/pref_behaviour_entries"
35 android:entryValues="@array/pref_behaviour_entryValues"
36 android:defaultValue="NOTHING"
37 android:summary="%s"
38 />
39
40 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_uploading"
41 android:title="@string/prefs_instant_upload"
42 android:summary="@string/prefs_instant_upload_summary"/>
43 <com.owncloud.android.ui.PreferenceWithLongSummary
44 android:title="@string/prefs_instant_upload_path_title"
45 android:key="instant_upload_path" />
46 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
47 android:key="instant_uploading"
48 android:title="@string/prefs_instant_upload"
49 android:summary="@string/prefs_instant_upload_summary"/>
50 <com.owncloud.android.ui.PreferenceWithLongSummary
51 android:dependency="instant_uploading"
52 android:disableDependentsState="true"
53 android:title="@string/prefs_instant_upload_path_title"
54 android:key="instant_upload_path" />
55 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
56 android:dependency="instant_uploading"
57 android:disableDependentsState="true"
58 android:title="@string/instant_upload_on_wifi"
59 android:key="instant_upload_on_wifi"/>
60 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
61 android:dependency="instant_uploading"
62 android:disableDependentsState="true"
63 android:title="@string/instant_upload_on_charging"
64 android:key="instant_upload_on_charging"/>
65
66 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
67 android:key="instant_video_uploading"
68 android:title="@string/prefs_instant_video_upload"
69 android:summary="@string/prefs_instant_video_upload_summary" />
70 <com.owncloud.android.ui.PreferenceWithLongSummary
71 android:dependency="instant_video_uploading"
72 android:disableDependentsState="true"
73 android:title="@string/prefs_instant_video_upload_path_title"
74 android:key="instant_video_upload_path" />
75 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
76 android:dependency="instant_video_uploading"
77 android:disableDependentsState="true"
78 android:title="@string/instant_video_upload_on_wifi"
79 android:key="instant_video_upload_on_wifi"/>
80 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
81 android:dependency="instant_video_uploading"
82 android:disableDependentsState="true"
83 android:title="@string/instant_video_upload_on_charging"
84 android:key="instant_video_upload_on_charging"/>
85 </PreferenceCategory>
86
87 <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
88 <!-- DISABLED FOR RELEASE UNTIL FIXED
89 CheckBoxPreference android:key="log_to_file"
90 android:title="@string/prefs_log_title"
91 android:summary="@string/prefs_log_summary"/>
92 <Preference android:key="log_history"
93 android:title="@string/prefs_log_title_history"
94 android:summary="@string/prefs_log_summary_history"/ -->
95
96 </PreferenceCategory>
97
98 <PreferenceCategory android:title="@string/common_category" android:key="common_category">
99 <EditTextPreference android:title="@string/pref_cache_size"
100 android:key="pref_cache_size"
101 android:digits="0123456789"/>
102 </PreferenceCategory>
103
104 <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
105 <Preference android:title="@string/prefs_help" android:key="help" />
106 <Preference android:title="@string/prefs_recommend" android:key="recommend" />
107 <Preference android:title="@string/prefs_feedback" android:key="feedback" />
108 <Preference android:title="@string/prefs_imprint" android:key="imprint" />
109
110 <Preference android:id="@+id/about_app"
111 android:title="@string/about_title"
112 android:key="about_app" />
113 </PreferenceCategory>
114
115
116 </PreferenceScreen>