1<?xml version="1.0" encoding="utf-8"?>
2<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
3 <PreferenceCategory
4 android:title="General">
5 <CheckBoxPreference
6 android:key="grant_new_contacts"
7 android:title="@string/pref_grant_presence_updates"
8 android:summary="@string/pref_grant_presence_updates_summary"
9 android:defaultValue="true"
10 />
11 <ListPreference
12 android:key="resource"
13 android:title="@string/pref_xmpp_resource"
14 android:summary="@string/pref_xmpp_resource_summary"
15 android:entries="@array/resources"
16 android:entryValues="@array/resources"
17 android:defaultValue="Mobile"/>
18 <ListPreference
19 android:key="auto_accept_file_size"
20 android:title="@string/pref_accept_files"
21 android:summary="@string/pref_accept_files_summary"
22 android:entries="@array/filesizes"
23 android:entryValues="@array/filesizes_values"
24 android:defaultValue="524288"/>
25 <ListPreference
26 android:key="auto_acknowledge_messages"
27 android:title="@string/pref_auto_acknowledge_messages"
28 android:summary="@string/pref_auto_acknowledge_messages_summary"
29 android:entries="@array/message_acks"
30 android:entryValues="@array/message_acks_values"
31 android:defaultValue="2"
32 />
33 </PreferenceCategory>
34 <PreferenceCategory
35 android:title="@string/pref_notification_settings">
36 <CheckBoxPreference
37 android:key="show_notification"
38 android:title="@string/pref_notifications"
39 android:summary="@string/pref_notifications_summary"
40 android:defaultValue="true"
41 />
42 <CheckBoxPreference
43 android:key="vibrate_on_notification"
44 android:dependency="show_notification"
45 android:title="@string/pref_vibrate"
46 android:summary="@string/pref_vibrate_summary"
47 android:defaultValue="true"/>
48 <RingtonePreference
49 android:key="notification_ringtone"
50 android:title="@string/pref_sound"
51 android:ringtoneType="notification"
52 android:dependency="show_notification"
53 android:summary="@string/pref_sound_summary"
54 android:defaultValue="content://settings/system/notification_sound"/>
55 <CheckBoxPreference
56 android:key="notify_in_conversation_when_highlighted"
57 android:title="@string/pref_conference_notifications"
58 android:summary="@string/pref_conference_notifications_summary"/>
59 <CheckBoxPreference
60 android:key="notification_grace_period_after_carbon_received"
61 android:title="@string/pref_notification_grace_period"
62 android:summary="@string/pref_notification_grace_period_summary"
63 android:defaultValue="true"/>
64 </PreferenceCategory>
65 <PreferenceCategory
66 android:title="@string/pref_ui_options">
67 <CheckBoxPreference
68 android:key="show_phone_selfcontact_picture"
69 android:title="@string/pref_use_phone_self_picture"
70 android:summary="@string/pref_use_phone_self_picture_summary"
71 android:defaultValue="true"/>
72 <CheckBoxPreference
73 android:key="use_subject_in_muc"
74 android:title="@string/pref_conference_name"
75 android:summary="@string/pref_conference_name_summary"
76 android:defaultValue="true"/>
77 </PreferenceCategory>
78 <PreferenceCategory
79 android:title="@string/pref_advanced_options">
80 <CheckBoxPreference
81 android:key="never_send"
82 android:title="@string/pref_never_send_crash"
83 android:summary="@string/pref_never_send_crash_summary"
84 android:defaultValue="false"/>
85 </PreferenceCategory>
86</PreferenceScreen>