Merge remote-tracking branch 'remotes/upstream/resizedImages' 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 android:title="@string/prefs_category_general">
22 <com.owncloud.android.ui.PreferenceWithLongSummary
23 android:title="@string/prefs_storage_path"
24 android:key="storage_path" />
25 </PreferenceCategory>
26 <PreferenceCategory android:title="@string/prefs_category_accounts" android:key="accounts_category">
27 </PreferenceCategory>
28
29 <PreferenceCategory android:title="@string/prefs_category_security">
30 <android.preference.CheckBoxPreference android:title="@string/prefs_passcode" android:key="set_pincode" />
31 </PreferenceCategory>
32
33 <PreferenceCategory android:title="@string/prefs_category_instant_uploading" android:key="instant_uploading_category">
34 <com.owncloud.android.ui.dialog.OwnCloudListPreference android:key="prefs_instant_behaviour"
35 android:dialogTitle="@string/prefs_instant_behaviour_dialogTitle"
36 android:title="@string/prefs_instant_behaviour_title"
37 android:entries="@array/pref_behaviour_entries"
38 android:entryValues="@array/pref_behaviour_entryValues"
39 android:defaultValue="NOTHING"
40 android:summary="%s"
41 />
42
43 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_uploading"
44 android:title="@string/prefs_instant_upload"
45 android:summary="@string/prefs_instant_upload_summary"/>
46 <com.owncloud.android.ui.PreferenceWithLongSummary
47 android:title="@string/prefs_instant_upload_path_title"
48 android:key="instant_upload_path" />
49 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
50 android:dependency="instant_uploading"
51 android:disableDependentsState="true"
52 android:title="@string/instant_upload_on_wifi"
53 android:key="instant_upload_on_wifi"/>
54 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
55 android:dependency="instant_uploading"
56 android:disableDependentsState="true"
57 android:title="@string/instant_upload_on_charging"
58 android:key="instant_upload_on_charging"/>
59
60 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
61 android:key="instant_video_uploading"
62 android:title="@string/prefs_instant_video_upload"
63 android:summary="@string/prefs_instant_video_upload_summary" />
64 <com.owncloud.android.ui.PreferenceWithLongSummary
65 android:dependency="instant_video_uploading"
66 android:disableDependentsState="true"
67 android:title="@string/prefs_instant_video_upload_path_title"
68 android:key="instant_video_upload_path" />
69 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
70 android:dependency="instant_video_uploading"
71 android:disableDependentsState="true"
72 android:title="@string/instant_video_upload_on_wifi"
73 android:key="instant_video_upload_on_wifi"/>
74 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
75 android:dependency="instant_video_uploading"
76 android:disableDependentsState="true"
77 android:title="@string/instant_video_upload_on_charging"
78 android:key="instant_video_upload_on_charging"/>
79 </PreferenceCategory>
80
81 <PreferenceCategory android:title="@string/common_category" android:key="common_category">
82 <EditTextPreference android:title="@string/pref_cache_size"
83 android:key="pref_cache_size"
84 android:digits="0123456789"/>
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 <Preference android:title="@string/prefs_help" android:key="help" />
96 <Preference android:title="@string/prefs_recommend" android:key="recommend" />
97 <Preference android:title="@string/prefs_feedback" android:key="feedback" />
98 <Preference android:title="@string/prefs_imprint" android:key="imprint" />
99
100 <Preference android:id="@+id/about_app"
101 android:title="@string/about_title"
102 android:key="about_app" />
103
104 <Preference android:id="@+id/beta_link"
105 android:title="Download latest beta version"
106 android:key="beta_link" />
107
108 <Preference android:id="@+id/changelog_link"
109 android:title="Changelog beta version"
110 android:key="changelog_link" />
111
112 </PreferenceCategory>
113 </PreferenceScreen>