1<?xml version="1.0" encoding="utf-8"?>
2<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <PreferenceCategory android:title="@string/pref_general">
5 <CheckBoxPreference
6 android:defaultValue="true"
7 android:key="grant_new_contacts"
8 android:summary="@string/pref_grant_presence_updates_summary"
9 android:title="@string/pref_grant_presence_updates"/>
10
11 <ListPreference
12 android:defaultValue="Mobile"
13 android:entries="@array/resources"
14 android:entryValues="@array/resources"
15 android:key="resource"
16 android:summary="@string/pref_xmpp_resource_summary"
17 android:title="@string/pref_xmpp_resource"/>
18 <ListPreference
19 android:defaultValue="524288"
20 android:entries="@array/filesizes"
21 android:entryValues="@array/filesizes_values"
22 android:key="auto_accept_file_size"
23 android:summary="@string/pref_accept_files_summary"
24 android:title="@string/pref_accept_files"/>
25
26 <CheckBoxPreference
27 android:defaultValue="true"
28 android:key="confirm_messages"
29 android:summary="@string/pref_confirm_messages_summary"
30 android:title="@string/pref_confirm_messages"/>
31
32 <CheckBoxPreference
33 android:defaultValue="false"
34 android:key="chat_states"
35 android:summary="@string/pref_chat_states_summary"
36 android:title="@string/pref_chat_states"/>
37
38 </PreferenceCategory>
39 <PreferenceCategory
40 android:key="notifications"
41 android:title="@string/pref_notification_settings">
42 <CheckBoxPreference
43 android:defaultValue="true"
44 android:key="show_notification"
45 android:summary="@string/pref_notifications_summary"
46 android:title="@string/pref_notifications"/>
47 <PreferenceScreen
48 android:dependency="show_notification"
49 android:key="quiet_hours"
50 android:summary="@string/pref_quiet_hours_summary"
51 android:title="@string/title_pref_quiet_hours">
52 <CheckBoxPreference
53 android:defaultValue="false"
54 android:key="enable_quiet_hours"
55 android:summary="@string/pref_quiet_hours_summary"
56 android:title="@string/title_pref_enable_quiet_hours"/>
57 <eu.siacs.conversations.ui.TimePreference
58 android:dependency="enable_quiet_hours"
59 android:key="quiet_hours_start"
60 android:negativeButtonText="@string/cancel"
61 android:positiveButtonText="@string/set"
62 android:title="@string/title_pref_quiet_hours_start_time"/>
63 <eu.siacs.conversations.ui.TimePreference
64 android:dependency="enable_quiet_hours"
65 android:key="quiet_hours_end"
66 android:negativeButtonText="@string/cancel"
67 android:positiveButtonText="@string/set"
68 android:title="@string/title_pref_quiet_hours_end_time"/>
69 </PreferenceScreen>
70 <CheckBoxPreference
71 android:defaultValue="true"
72 android:dependency="show_notification"
73 android:key="vibrate_on_notification"
74 android:summary="@string/pref_vibrate_summary"
75 android:title="@string/pref_vibrate"/>
76
77 <RingtonePreference
78 android:defaultValue="content://settings/system/notification_sound"
79 android:dependency="show_notification"
80 android:key="notification_ringtone"
81 android:ringtoneType="notification"
82 android:summary="@string/pref_sound_summary"
83 android:title="@string/pref_sound"/>
84
85 </PreferenceCategory>
86 <PreferenceCategory android:title="@string/pref_ui_options">
87 <CheckBoxPreference
88 android:defaultValue="true"
89 android:key="use_subject"
90 android:summary="@string/pref_conference_name_summary"
91 android:title="@string/pref_conference_name"/>
92 <CheckBoxPreference
93 android:defaultValue="false"
94 android:key="use_white_background"
95 android:title="@string/pref_use_white_background"
96 android:summary="@string/pref_use_white_background_summary"/>
97 <CheckBoxPreference
98 android:defaultValue="false"
99 android:key="use_larger_font"
100 android:summary="@string/pref_use_larger_font_summary"
101 android:title="@string/pref_use_larger_font"/>
102 <CheckBoxPreference
103 android:defaultValue="false"
104 android:key="send_button_status"
105 android:summary="@string/pref_use_send_button_to_indicate_status_summary"
106 android:title="@string/pref_use_send_button_to_indicate_status"/>
107 <ListPreference
108 android:defaultValue="recent"
109 android:dialogTitle="@string/choose_quick_action"
110 android:entries="@array/quick_actions"
111 android:entryValues="@array/quick_action_values"
112 android:key="quick_action"
113 android:summary="@string/pref_quick_action_summary"
114 android:title="@string/pref_quick_action"/>
115 <CheckBoxPreference
116 android:defaultValue="false"
117 android:key="show_dynamic_tags"
118 android:summary="@string/pref_show_dynamic_tags_summary"
119 android:title="@string/pref_show_dynamic_tags"/>
120 </PreferenceCategory>
121 <PreferenceCategory
122 android:key="advanced"
123 android:title="@string/pref_advanced_options">
124 <PreferenceScreen
125 android:key="expert"
126 android:summary="@string/pref_expert_options_summary"
127 android:title="@string/pref_expert_options">
128 <PreferenceCategory android:title="@string/pref_encryption_settings">
129 <CheckBoxPreference
130 android:defaultValue="false"
131 android:key="dont_save_encrypted"
132 android:summary="@string/pref_dont_save_encrypted_summary"
133 android:title="@string/pref_dont_save_encrypted"/>
134 <CheckBoxPreference
135 android:defaultValue="false"
136 android:key="dont_trust_system_cas"
137 android:summary="@string/pref_dont_trust_system_cas_summary"
138 android:title="@string/pref_dont_trust_system_cas_title"/>
139 <Preference
140 android:key="remove_trusted_certificates"
141 android:summary="@string/pref_remove_trusted_certificates_summary"
142 android:title="@string/pref_remove_trusted_certificates_title"/>
143 </PreferenceCategory>
144 <PreferenceCategory
145 android:title="@string/pref_connection_options"
146 android:key="connection_options">
147 <CheckBoxPreference
148 android:defaultValue="false"
149 android:key="use_tor"
150 android:title="@string/pref_use_tor"
151 android:summary="@string/pref_use_tor_summary"/>
152 </PreferenceCategory>
153 <PreferenceCategory android:title="@string/pref_input_options">
154 <CheckBoxPreference
155 android:defaultValue="false"
156 android:key="enter_is_send"
157 android:summary="@string/pref_enter_is_send_summary"
158 android:title="@string/pref_enter_is_send"/>
159 <CheckBoxPreference
160 android:defaultValue="false"
161 android:key="display_enter_key"
162 android:summary="@string/pref_display_enter_key_summary"
163 android:title="@string/pref_display_enter_key"/>
164 </PreferenceCategory>
165 <PreferenceCategory android:title="@string/pref_presence_settings">
166 <CheckBoxPreference
167 android:defaultValue="false"
168 android:key="away_when_screen_off"
169 android:summary="@string/pref_away_when_screen_off_summary"
170 android:title="@string/pref_away_when_screen_off"/>
171 <CheckBoxPreference
172 android:defaultValue="false"
173 android:key="xa_on_silent_mode"
174 android:summary="@string/pref_xa_on_silent_mode_summary"
175 android:title="@string/pref_xa_on_silent_mode"/>
176 </PreferenceCategory>
177 <PreferenceCategory android:title="@string/pref_expert_options_other">
178 <CheckBoxPreference
179 android:defaultValue="false"
180 android:key="indicate_received"
181 android:summary="@string/pref_use_indicate_received_summary"
182 android:title="@string/pref_use_indicate_received"/>
183 <CheckBoxPreference
184 android:defaultValue="false"
185 android:key="keep_foreground_service"
186 android:summary="@string/pref_keep_foreground_service_summary"
187 android:title="@string/pref_keep_foreground_service"/>
188 <eu.siacs.conversations.ui.ExportLogsPreference
189 android:key="export_logs"
190 android:title="@string/pref_export_logs"
191 android:summary="@string/pref_export_logs_summary"/>
192 </PreferenceCategory>
193 </PreferenceScreen>
194
195 <CheckBoxPreference
196 android:defaultValue="false"
197 android:key="never_send"
198 android:summary="@string/pref_never_send_crash_summary"
199 android:title="@string/pref_never_send_crash"/>
200 </PreferenceCategory>
201 <eu.siacs.conversations.ui.AboutPreference
202 android:summary="@string/pref_about_conversations_summary"
203 android:title="@string/title_activity_about"/>
204</PreferenceScreen>