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 </PreferenceCategory>
26 <PreferenceCategory
27 android:title="@string/pref_notification_settings">
28 <CheckBoxPreference
29 android:key="show_notification"
30 android:title="@string/pref_notifications"
31 android:summary="@string/pref_notifications_summary"
32 android:defaultValue="true"
33 />
34 <CheckBoxPreference
35 android:key="vibrate_on_notification"
36 android:dependency="show_notification"
37 android:title="@string/pref_vibrate"
38 android:summary="@string/pref_vibrate_summary"
39 android:defaultValue="true"/>
40 <RingtonePreference
41 android:key="notification_ringtone"
42 android:title="@string/pref_sound"
43 android:ringtoneType="notification"
44 android:dependency="show_notification"
45 android:summary="@string/pref_sound_summary"
46 android:defaultValue="content://settings/system/notification_sound"/>
47 <CheckBoxPreference
48 android:key="notify_in_conversation_when_highlighted"
49 android:title="@string/pref_conference_notifications"
50 android:summary="@string/pref_conference_notifications_summary"/>
51 <CheckBoxPreference
52 android:key="notification_grace_period_after_carbon_received"
53 android:title="@string/pref_notification_grace_period"
54 android:summary="@string/pref_notification_grace_period_summary"
55 android:defaultValue="true"/>
56 </PreferenceCategory>
57 <PreferenceCategory
58 android:title="@string/pref_ui_options">
59 <CheckBoxPreference
60 android:key="show_phone_selfcontact_picture"
61 android:title="@string/pref_use_phone_self_picture"
62 android:summary="@string/pref_use_phone_self_picture_summary"
63 android:defaultValue="true"/>
64 <CheckBoxPreference
65 android:key="use_subject_in_muc"
66 android:title="@string/pref_conference_name"
67 android:summary="@string/pref_conference_name_summary"
68 android:defaultValue="true"/>
69 </PreferenceCategory>
70 <PreferenceCategory
71 android:title="@string/pref_advanced_options">
72 <CheckBoxPreference
73 android:key="never_send"
74 android:title="@string/pref_never_send_crash"
75 android:summary="@string/pref_never_send_crash_summary"
76 android:defaultValue="false"/>
77 </PreferenceCategory>
78</PreferenceScreen>