aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/xml/preferences.xml
blob: 9def87c448aae22960969926e41bb3730858647e (plain)
1
2
3
4
5
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto" >

    <PreferenceCategory android:title="@string/pref_general" >
        <CheckBoxPreference
            android:defaultValue="true"
            android:key="grant_new_contacts"
            android:summary="@string/pref_grant_presence_updates_summary"
            android:title="@string/pref_grant_presence_updates" />

        <ListPreference
            android:defaultValue="Mobile"
            android:entries="@array/resources"
            android:entryValues="@array/resources"
            android:key="resource"
            android:summary="@string/pref_xmpp_resource_summary"
            android:title="@string/pref_xmpp_resource" />

        <PreferenceScreen
            android:summary="@string/pref_accept_files_summary"
            android:title="@string/pref_accept_files">

            <CheckBoxPreference
                android:defaultValue="true"
                android:key="auto_download_file_link"
                android:summary="@string/pref_accept_files_download_link_summary"
                android:title="@string/pref_accept_files_download_link" />

            <ListPreference
                android:defaultValue="524288"
                android:entries="@array/filesizes"
                android:entryValues="@array/filesizes_values"
                android:key="auto_accept_file_size"
                android:summary="@string/pref_accept_files_size_summary"
                android:title="@string/pref_accept_files_size" />

            <CheckBoxPreference
                android:defaultValue="true"
                android:key="auto_download_file_wlan"
                android:summary="@string/pref_accept_files_download_summary"
                android:title="@string/pref_accept_files_download" />

        </PreferenceScreen>

        <ListPreference
            android:defaultValue="2"
            android:entries="@array/confirm_strings"
            android:entryValues="@array/confirm_values"
            android:key="confirm_messages_list"
            android:summary="@string/pref_confirm_messages_summary"
            android:title="@string/pref_confirm_messages" />

        <CheckBoxPreference
            android:defaultValue="false"
            android:key="chat_states"
            android:summary="@string/pref_chat_states_summary"
            android:title="@string/pref_chat_states" />
        <CheckBoxPreference
            android:defaultValue="true"
            android:key="parse_emoticons"
            android:summary="@string/pref_parse_emoticons_summary"
            android:title="@string/pref_parse_emoticons"/>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/pref_notification_settings" >
        <PreferenceScreen
            android:summary="@string/pref_notification_settings"
            android:title="@string/pref_notifications" >
            <CheckBoxPreference
                android:defaultValue="true"
                android:key="show_notification"
                android:summary="@string/pref_notifications_summary"
                android:title="@string/pref_notifications" />
              <PreferenceScreen
                android:dependency="show_notification"
                android:summary="@string/pref_quiet_hours_summary"
                android:title="@string/title_pref_quiet_hours">
                <CheckBoxPreference
                  android:defaultValue="false"
                  android:key="enable_quiet_hours"
                  android:summary="@string/pref_quiet_hours_summary"
                  android:title="@string/title_pref_enable_quiet_hours" />
                <eu.siacs.conversations.ui.TimePreference
                  android:dependency="enable_quiet_hours"
                  android:key="quiet_hours_start"
                  android:negativeButtonText="@string/cancel"
                  android:positiveButtonText="@string/set"
                  android:title="@string/title_pref_quiet_hours_start_time" />
                <eu.siacs.conversations.ui.TimePreference
                  android:dependency="enable_quiet_hours"
                  android:key="quiet_hours_end"
                  android:negativeButtonText="@string/cancel"
                  android:positiveButtonText="@string/set"
                  android:title="@string/title_pref_quiet_hours_end_time" />
              </PreferenceScreen>
              <CheckBoxPreference
                android:defaultValue="true"
                android:dependency="show_notification"
                android:key="vibrate_on_notification"
                android:summary="@string/pref_vibrate_summary"
                android:title="@string/pref_vibrate" />

            <RingtonePreference
                android:defaultValue="content://settings/system/notification_sound"
                android:dependency="show_notification"
                android:key="notification_ringtone"
                android:ringtoneType="notification"
                android:summary="@string/pref_sound_summary"
                android:title="@string/pref_sound" />

            <yuku.ambilwarna.widget.AmbilWarnaPreference
                android:defaultValue="0xffffffff"
                android:key="led_notify_color"
                android:title="@string/pref_led_notification_color"
                app:supportsAlpha="true"
                android:summary="@string/pref_led_notification_color_summary"/>

            <CheckBoxPreference
                android:defaultValue="true"
                android:dependency="show_notification"
                android:key="always_notify_in_conference"
                android:summary="@string/pref_conference_notifications_summary"
                android:title="@string/pref_conference_notifications" />
        </PreferenceScreen>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/pref_ui_options" >
        <CheckBoxPreference
            android:defaultValue="true"
            android:key="use_subject"
            android:summary="@string/pref_conference_name_summary"
            android:title="@string/pref_conference_name" />
        <CheckBoxPreference
            android:defaultValue="false"
            android:key="use_larger_font"
            android:summary="@string/pref_use_larger_font_summary"
            android:title="@string/pref_use_larger_font" />
        <CheckBoxPreference
            android:defaultValue="false"
            android:key="send_button_status"
            android:summary="@string/pref_use_send_button_to_indicate_status_summary"
            android:title="@string/pref_use_send_button_to_indicate_status" />
        <ListPreference
            android:key="quick_action"
            android:defaultValue="recent"
            android:entries="@array/quick_actions"
            android:entryValues="@array/quick_action_values"
            android:summary="@string/pref_quick_action_summary"
            android:title="@string/pref_quick_action"
            android:dialogTitle="@string/choose_quick_action"/>
        <CheckBoxPreference
            android:defaultValue="false"
            android:key="show_dynamic_tags"
            android:summary="@string/pref_show_dynamic_tags_summary"
            android:title="@string/pref_show_dynamic_tags" />
    </PreferenceCategory>
    <PreferenceCategory
        android:title="@string/pref_advanced_options"
        android:key="advanced">
        <PreferenceScreen
            android:summary="@string/pref_expert_options_summary"
            android:title="@string/pref_expert_options"
            android:key="expert">
            <PreferenceCategory android:title="@string/pref_encryption_settings" >
                <CheckBoxPreference
                    android:defaultValue="false"
                    android:key="force_encryption"
                    android:summary="@string/pref_force_encryption_summary"
                    android:title="@string/pref_force_encryption" />
                <CheckBoxPreference
                    android:defaultValue="false"
                    android:key="dont_save_encrypted"
                    android:summary="@string/pref_dont_save_encrypted_summary"
                    android:title="@string/pref_dont_save_encrypted" />
            </PreferenceCategory>
	        <PreferenceCategory android:title="@string/pref_input_options">
		        <CheckBoxPreference
			        android:defaultValue="false"
			        android:key="enter_is_send"
			        android:title="@string/pref_enter_is_send"
			        android:summary="@string/pref_enter_is_send_summary" />
		        <CheckBoxPreference
			        android:defaultValue="false"
			        android:key="display_enter_key"
			        android:title="@string/pref_display_enter_key"
			        android:summary="@string/pref_display_enter_key_summary" />
	        </PreferenceCategory>
			<PreferenceCategory android:title="@string/pref_certificate_options">
				<CheckBoxPreference
					android:defaultValue="false"
					android:key="dont_trust_system_cas"
					android:title="@string/pref_dont_trust_system_cas_title"
					android:summary="@string/pref_dont_trust_system_cas_summary" />
				<Preference
					android:key="remove_trusted_certificates"
					android:title="@string/pref_remove_trusted_certificates_title"
					android:summary="@string/pref_remove_trusted_certificates_summary" />
			</PreferenceCategory>
            <PreferenceCategory android:title="@string/pref_expert_options_other" >
                <CheckBoxPreference
                    android:defaultValue="false"
                    android:key="indicate_received"
                    android:summary="@string/pref_use_indicate_received_summary"
                    android:title="@string/pref_use_indicate_received" />
                <CheckBoxPreference
                    android:defaultValue="false"
                    android:key="keep_foreground_service"
                    android:title="@string/pref_keep_foreground_service"
                    android:summary="@string/pref_keep_foreground_service_summary" />
            </PreferenceCategory>
        </PreferenceScreen>

        <CheckBoxPreference
            android:defaultValue="false"
            android:key="never_send"
            android:summary="@string/pref_never_send_crash_summary"
            android:title="@string/pref_never_send_crash" />
    </PreferenceCategory>
		<eu.siacs.conversations.ui.AboutPreference
			android:summary="@string/pref_about_conversations_summary"
			android:title="@string/title_activity_about" />
</PreferenceScreen>