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