preferences.xml 7.72 KB
Newer Older
Alan McNatty's avatar
Alan McNatty committed
1
2
3
4
5
<?xml version="1.0" encoding="utf-8"?>

<PreferenceScreen
	xmlns:android="http://schemas.android.com/apk/res/android">

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
  	<PreferenceCategory
		android:title="@string/prefcat_authentication">
   		<EditTextPreference
			android:key="@string/pref_auth_username_key"
			android:title="@string/pref_auth_username_title"
			android:summary="@string/pref_auth_username_summary"	/>	
		<EditTextPreference
			android:key="@string/pref_auth_token_key"
			android:title="@string/pref_auth_token_title"
			android:summary="@string/pref_auth_token_summary"	/>	
	</PreferenceCategory>			
    
   	<PreferenceCategory
		android:title="@string/prefcat_connection">

	 	<EditTextPreference
			android:key="@string/pref_base_url_key"
			android:title="@string/pref_base_url_title"
			android:summary="@string/pref_base_url_summary"
			android:defaultValue="@string/pref_base_url_default" />	
		<EditTextPreference
			android:key="@string/pref_upload_url_key"
			android:title="@string/pref_upload_url_title"
			android:summary="@string/pref_upload_url_summary"
			android:defaultValue="@string/pref_upload_url_default" />	
		<EditTextPreference
			android:key="@string/pref_sync_url_key"
			android:title="@string/pref_sync_url_title"
			android:summary="@string/pref_sync_url_summary"
			android:defaultValue="@string/pref_sync_url_default" />	
	    <ListPreference
	        android:key="@string/pref_upload_connection_key"
	        android:title="@string/pref_upload_connection_title"
	        android:summary="@string/pref_upload_connection_summary"
	        android:defaultValue=""
	        android:entries="@array/pref_upload_connection_entry"
	        android:entryValues="@array/pref_upload_connection_entryValues"
	        android:dialogTitle="@string/pref_upload_connection_title" />
	</PreferenceCategory>
   	<PreferenceCategory
		android:title="@string/prefcat_defaults">
   		<PreferenceScreen android:title="@string/prefcat_defaults_post" xmlns:android="http://schemas.android.com/apk/res/android">
		   	<CheckBoxPreference
				android:key="@string/pref_upload_journal_default_key"
				android:enabled="true"
				android:defaultValue="false"
				android:summary="@string/pref_upload_journal_default_summary"
				android:title="@string/pref_upload_journal_default_title" />
			<ListPreference
				android:dependency="@string/pref_upload_journal_default_key"
				android:key="@string/pref_upload_journal_key"
				android:title="@string/pref_upload_journal_title"
				android:summary="@string/pref_upload_journal_summary"
		        android:dialogTitle="@string/pref_upload_journal_title" />
		   	
		   	<CheckBoxPreference
				android:key="@string/pref_upload_folder_default_key"
				android:enabled="true"
				android:defaultValue="false"
				android:summary="@string/pref_upload_folder_default_summary"
				android:title="@string/pref_upload_folder_default_title" />
			<ListPreference
				android:dependency="@string/pref_upload_folder_default_key"
				android:key="@string/pref_upload_folder_key"
				android:title="@string/pref_upload_folder_title"
				android:summary="@string/pref_upload_folder_summary"
		        android:dialogTitle="@string/pref_upload_folder_title" />
					
		   	<CheckBoxPreference
				android:key="@string/pref_upload_tags_default_key"
				android:enabled="true"
				android:defaultValue="false"
				android:summary="@string/pref_upload_tags_default_summary"
				android:title="@string/pref_upload_tags_default_title" />
			<ListPreference
				android:dependency="@string/pref_upload_tags_default_key"
				android:key="@string/pref_upload_tags_key"
				android:title="@string/pref_upload_tags_title"
				android:summary="@string/pref_upload_tags_summary"
		        android:dialogTitle="@string/pref_upload_tags_title" />
		</PreferenceScreen>	
		<PreferenceScreen android:title="@string/prefcat_defaults_notification" xmlns:android="http://schemas.android.com/apk/res/android">
		    <!-- 
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_feedback_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_feedback_summary"
				android:title="@string/pref_sync_notification_feedback_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_newpost_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_newpost_summary"
				android:title="@string/pref_sync_notification_newpost_title" />		   	
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_maharamessage_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_maharamessage_summary"
				android:title="@string/pref_sync_notification_maharamessage_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_usermessage_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_usermessage_summary"
				android:title="@string/pref_sync_notification_usermessage_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_groupmessage_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_groupmessage_summary"
				android:title="@string/pref_sync_notification_groupmessage_title" />
		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_watchlist_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_watchlist_summary"
				android:title="@string/pref_sync_notification_watchlist_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_viewaccess_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_viewaccess_summary"
				android:title="@string/pref_sync_notification_viewaccess_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_contactus_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_contactus_summary"
				android:title="@string/pref_sync_notification_contactus_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_objectionable_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_objectionable_summary"
				android:title="@string/pref_sync_notification_objectionable_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_virusrepeat_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_virusrepeat_summary"
				android:title="@string/pref_sync_notification_virusrepeat_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_virusrelease_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_virusrelease_summary"
				android:title="@string/pref_sync_notification_virusrelease_title" />
   		   	<CheckBoxPreference
				android:key="@string/pref_sync_notification_institutionmessage_key"
				android:enabled="true"
				android:defaultValue="true"
				android:summary="@string/pref_sync_notification_institutionmessage_summary"
				android:title="@string/pref_sync_notification_institutionmessage_title" />
				 -->
		</PreferenceScreen>	
	</PreferenceCategory>
Alan McNatty's avatar
Alan McNatty committed
164
165
	<PreferenceCategory
		android:title="@string/prefcat_advanced">
166
167
168
169
		<EditTextPreference
			android:key="@string/pref_sync_periodic_key"
			android:title="@string/pref_sync_periodic_title"
			android:summary="@string/pref_sync_periodic_summary"
170
			android:defaultValue="15"
171
			android:numeric="integer"
172
		/>	
173
	</PreferenceCategory>	
Alan McNatty's avatar
Alan McNatty committed
174
</PreferenceScreen>