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 </PreferenceCategory>
32 <PreferenceCategory android:title="@string/pref_notification_settings" >
33 <CheckBoxPreference
34 android:defaultValue="true"
35 android:key="show_notification"
36 android:summary="@string/pref_notifications_summary"
37 android:title="@string/pref_notifications" />
38 <CheckBoxPreference
39 android:defaultValue="true"
40 android:dependency="show_notification"
41 android:key="vibrate_on_notification"
42 android:summary="@string/pref_vibrate_summary"
43 android:title="@string/pref_vibrate" />
44
45 <RingtonePreference
46 android:defaultValue="content://settings/system/notification_sound"
47 android:dependency="show_notification"
48 android:key="notification_ringtone"
49 android:ringtoneType="notification"
50 android:summary="@string/pref_sound_summary"
51 android:title="@string/pref_sound" />
52
53 <CheckBoxPreference
54 android:dependency="show_notification"
55 android:key="always_notify_in_conference"
56 android:summary="@string/pref_conference_notifications_summary"
57 android:title="@string/pref_conference_notifications" />
58 </PreferenceCategory>
59 <PreferenceCategory android:title="@string/pref_ui_options" >
60 <CheckBoxPreference
61 android:defaultValue="true"
62 android:key="use_subject"
63 android:summary="@string/pref_conference_name_summary"
64 android:title="@string/pref_conference_name" />
65 <CheckBoxPreference
66 android:defaultValue="false"
67 android:key="use_larger_font"
68 android:summary="@string/pref_use_larger_font_summary"
69 android:title="@string/pref_use_larger_font" />
70 <CheckBoxPreference
71 android:defaultValue="false"
72 android:key="send_button_status"
73 android:summary="@string/pref_use_send_button_to_indicate_status_summary"
74 android:title="@string/pref_use_send_button_to_indicate_status" />
75 </PreferenceCategory>
76 <PreferenceCategory android:title="@string/pref_advanced_options" >
77 <PreferenceScreen
78 android:summary="@string/pref_expert_options_summary"
79 android:title="@string/pref_expert_options" >
80 <PreferenceCategory android:title="@string/pref_encryption_settings" >
81 <CheckBoxPreference
82 android:defaultValue="false"
83 android:key="force_encryption"
84 android:summary="@string/pref_force_encryption_summary"
85 android:title="@string/pref_force_encryption" />
86 <CheckBoxPreference
87 android:defaultValue="false"
88 android:key="dont_save_encrypted"
89 android:summary="@string/pref_dont_save_encrypted_summary"
90 android:title="@string/pref_dont_save_encrypted" />
91 <CheckBoxPreference
92 android:defaultValue="false"
93 android:key="enable_legacy_ssl"
94 android:summary="@string/pref_enable_legacy_ssl_summary"
95 android:title="@string/pref_enable_legacy_ssl" />
96 </PreferenceCategory>
97 <PreferenceCategory android:title="@string/pref_expert_options_other" >
98 <CheckBoxPreference
99 android:defaultValue="false"
100 android:key="indicate_received"
101 android:summary="@string/pref_use_indicate_received_summary"
102 android:title="@string/pref_use_indicate_received" />
103 </PreferenceCategory>
104 </PreferenceScreen>
105
106 <CheckBoxPreference
107 android:defaultValue="false"
108 android:key="never_send"
109 android:summary="@string/pref_never_send_crash_summary"
110 android:title="@string/pref_never_send_crash" />
111 </PreferenceCategory>
112
113</PreferenceScreen>