Merge remote-tracking branch 'remotes/upstream/sortInUploadFilesActivity' into beta
[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"
37 android:key="instant_uploading_category">
38
39 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
40 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:dependency="instant_uploading"
45 android:disableDependentsState="true"
46 android:title="@string/prefs_instant_upload_path_title"
47 android:key="instant_upload_path" />
48 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
49 android:dependency="instant_uploading"
50 android:disableDependentsState="true"
51 android:title="@string/instant_upload_on_wifi"
52 android:key="instant_upload_on_wifi"/>
53 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
54 android:dependency="instant_uploading"
55 android:disableDependentsState="true"
56 android:title="@string/instant_upload_on_charging"
57 android:key="instant_upload_on_charging"/>
58
59 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
60 android:key="instant_video_uploading"
61 android:title="@string/prefs_instant_video_upload"
62 android:summary="@string/prefs_instant_video_upload_summary" />
63 <com.owncloud.android.ui.PreferenceWithLongSummary
64 android:dependency="instant_video_uploading"
65 android:disableDependentsState="true"
66 android:title="@string/prefs_instant_video_upload_path_title"
67 android:key="instant_video_upload_path" />
68 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
69 android:dependency="instant_video_uploading"
70 android:disableDependentsState="true"
71 android:title="@string/instant_video_upload_on_wifi"
72 android:key="instant_video_upload_on_wifi"/>
73 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
74 android:dependency="instant_video_uploading"
75 android:disableDependentsState="true"
76 android:title="@string/instant_video_upload_on_charging"
77 android:key="instant_video_upload_on_charging"/>
78 </PreferenceCategory>
79
80 <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
81 <!-- DISABLED FOR RELEASE UNTIL FIXED
82 CheckBoxPreference android:key="log_to_file"
83 android:title="@string/prefs_log_title"
84 android:summary="@string/prefs_log_summary"/>
85 <Preference android:key="log_history"
86 android:title="@string/prefs_log_title_history"
87 android:summary="@string/prefs_log_summary_history"/ -->
88
89 </PreferenceCategory>
90
91 <PreferenceCategory android:title="@string/common_category" android:key="common_category">
92 <EditTextPreference android:title="@string/pref_cache_size"
93 android:key="pref_cache_size"
94 android:digits="0123456789"/>
95 </PreferenceCategory>
96
97 <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
98 <Preference android:title="@string/prefs_help" android:key="help" />
99 <Preference android:title="@string/prefs_recommend" android:key="recommend" />
100 <Preference android:title="@string/prefs_feedback" android:key="feedback" />
101 <Preference android:title="@string/prefs_imprint" android:key="imprint" />
102
103 <Preference android:id="@+id/about_app"
104 android:title="@string/about_title"
105 android:key="about_app" />
106 </PreferenceCategory>
107
108
109 </PreferenceScreen>