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 android:title="@string/pref_notification_settings" >
40 <CheckBoxPreference
41 android:defaultValue="true"
42 android:key="show_notification"
43 android:summary="@string/pref_notifications_summary"
44 android:title="@string/pref_notifications" />
45 <PreferenceScreen
46 android:dependency="show_notification"
47 android:summary="@string/pref_quiet_hours_summary"
48 android:title="@string/title_pref_quiet_hours">
49 <CheckBoxPreference
50 android:defaultValue="false"
51 android:key="enable_quiet_hours"
52 android:summary="@string/pref_quiet_hours_summary"
53 android:title="@string/title_pref_enable_quiet_hours" />
54 <eu.siacs.conversations.ui.TimePreference
55 android:dependency="enable_quiet_hours"
56 android:key="quiet_hours_start"
57 android:negativeButtonText="@string/cancel"
58 android:positiveButtonText="@string/set"
59 android:title="@string/title_pref_quiet_hours_start_time" />
60 <eu.siacs.conversations.ui.TimePreference
61 android:dependency="enable_quiet_hours"
62 android:key="quiet_hours_end"
63 android:negativeButtonText="@string/cancel"
64 android:positiveButtonText="@string/set"
65 android:title="@string/title_pref_quiet_hours_end_time" />
66 </PreferenceScreen>
67 <CheckBoxPreference
68 android:defaultValue="true"
69 android:dependency="show_notification"
70 android:key="vibrate_on_notification"
71 android:summary="@string/pref_vibrate_summary"
72 android:title="@string/pref_vibrate" />
73
74 <RingtonePreference
75 android:defaultValue="content://settings/system/notification_sound"
76 android:dependency="show_notification"
77 android:key="notification_ringtone"
78 android:ringtoneType="notification"
79 android:summary="@string/pref_sound_summary"
80 android:title="@string/pref_sound" />
81
82 <CheckBoxPreference
83 android:defaultValue="true"
84 android:dependency="show_notification"
85 android:key="always_notify_in_conference"
86 android:summary="@string/pref_conference_notifications_summary"
87 android:title="@string/pref_conference_notifications" />
88 </PreferenceCategory>
89 <PreferenceCategory android:title="@string/pref_ui_options" >
90 <CheckBoxPreference
91 android:defaultValue="true"
92 android:key="use_subject"
93 android:summary="@string/pref_conference_name_summary"
94 android:title="@string/pref_conference_name" />
95 <CheckBoxPreference
96 android:defaultValue="false"
97 android:key="use_larger_font"
98 android:summary="@string/pref_use_larger_font_summary"
99 android:title="@string/pref_use_larger_font" />
100 <CheckBoxPreference
101 android:defaultValue="false"
102 android:key="send_button_status"
103 android:summary="@string/pref_use_send_button_to_indicate_status_summary"
104 android:title="@string/pref_use_send_button_to_indicate_status" />
105 <CheckBoxPreference
106 android:defaultValue="false"
107 android:key="show_dynamic_tags"
108 android:summary="@string/pref_show_dynamic_tags_summary"
109 android:title="@string/pref_show_dynamic_tags" />
110 </PreferenceCategory>
111 <PreferenceCategory android:title="@string/pref_advanced_options" >
112 <PreferenceScreen
113 android:summary="@string/pref_expert_options_summary"
114 android:title="@string/pref_expert_options" >
115 <PreferenceCategory android:title="@string/pref_encryption_settings" >
116 <CheckBoxPreference
117 android:defaultValue="false"
118 android:key="force_encryption"
119 android:summary="@string/pref_force_encryption_summary"
120 android:title="@string/pref_force_encryption" />
121 <CheckBoxPreference
122 android:defaultValue="false"
123 android:key="dont_save_encrypted"
124 android:summary="@string/pref_dont_save_encrypted_summary"
125 android:title="@string/pref_dont_save_encrypted" />
126 </PreferenceCategory>
127 <PreferenceCategory android:title="@string/pref_input_options">
128 <CheckBoxPreference
129 android:defaultValue="false"
130 android:key="enter_is_send"
131 android:title="@string/pref_enter_is_send"
132 android:summary="@string/pref_enter_is_send_summary" />
133 <CheckBoxPreference
134 android:defaultValue="false"
135 android:key="display_enter_key"
136 android:title="@string/pref_display_enter_key"
137 android:summary="@string/pref_display_enter_key_summary" />
138 </PreferenceCategory>
139 <PreferenceCategory android:title="@string/pref_expert_options_other" >
140 <CheckBoxPreference
141 android:defaultValue="false"
142 android:key="indicate_received"
143 android:summary="@string/pref_use_indicate_received_summary"
144 android:title="@string/pref_use_indicate_received" />
145 <CheckBoxPreference
146 android:defaultValue="false"
147 android:key="keep_foreground_service"
148 android:title="@string/pref_keep_foreground_service"
149 android:summary="@string/pref_keep_foreground_service_summary" />
150 <CheckBoxPreference
151 android:defaultValue="false"
152 android:key="dont_trust_system_cas"
153 android:title="@string/pref_dont_trust_system_cas_title"
154 android:summary="@string/pref_dont_trust_system_cas_summary" />
155 </PreferenceCategory>
156 </PreferenceScreen>
157
158 <CheckBoxPreference
159 android:defaultValue="false"
160 android:key="never_send"
161 android:summary="@string/pref_never_send_crash_summary"
162 android:title="@string/pref_never_send_crash" />
163 </PreferenceCategory>
164 <eu.siacs.conversations.ui.AboutPreference
165 android:summary="@string/pref_about_conversations_summary"
166 android:title="@string/title_activity_about" />
167</PreferenceScreen>