#819, part 2: Instant uploads, depends on setting
[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) 2015 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_accounts" android:key="accounts_category">
22 </PreferenceCategory>
23
24 <PreferenceCategory android:title="@string/prefs_category_security">
25 <android.preference.CheckBoxPreference android:title="@string/prefs_passcode" android:key="set_pincode" />
26 </PreferenceCategory>
27
28 <PreferenceCategory android:title="@string/prefs_category_instant_uploading" android:key="instant_uploading_category">
29 <ListPreference android:key="prefs_instant_behaviour"
30 android:dialogTitle="@string/prefs_instant_behaviour_dialogTitle"
31 android:title="@string/prefs_instant_behaviour_title"
32 android:entries="@array/pref_behaviour_entries"
33 android:entryValues="@array/pref_behaviour_entryValues"
34 />
35
36 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_uploading"
37 android:title="@string/prefs_instant_upload"
38 android:summary="@string/prefs_instant_upload_summary"/>
39 <com.owncloud.android.ui.PreferenceWithLongSummary
40 android:title="@string/prefs_instant_upload_path_title"
41 android:key="instant_upload_path" />
42 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
43 android:title="@string/instant_upload_on_wifi"
44 android:key="instant_upload_on_wifi"/>
45 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_video_uploading"
46 android:title="@string/prefs_instant_video_upload"
47 android:summary="@string/prefs_instant_video_upload_summary" />
48 <com.owncloud.android.ui.PreferenceWithLongSummary
49 android:title="@string/prefs_instant_video_upload_path_title"
50 android:key="instant_video_upload_path" />
51 <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
52 android:title="@string/instant_video_upload_on_wifi"
53 android:key="instant_video_upload_on_wifi"/>
54 <!-- DISABLED FOR RELEASE UNTIL FIXED
55 CheckBoxPreference android:key="log_to_file"
56 android:title="@string/prefs_log_title"
57 android:summary="@string/prefs_log_summary"/>
58 <Preference android:key="log_history"
59 android:title="@string/prefs_log_title_history"
60 android:summary="@string/prefs_log_summary_history"/ -->
61
62 </PreferenceCategory>
63
64 <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
65 <Preference android:title="@string/prefs_help" android:key="help" />
66 <Preference android:title="@string/prefs_recommend" android:key="recommend" />
67 <Preference android:title="@string/prefs_feedback" android:key="feedback" />
68 <Preference android:title="@string/prefs_imprint" android:key="imprint" />
69
70 <Preference android:id="@+id/about_app"
71 android:title="@string/about_title"
72 android:key="about_app" />
73 </PreferenceCategory>
74
75
76 </PreferenceScreen>