1<?xml version="1.0" encoding="utf-8"?>
2<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
3 <PreferenceCategory
4 android:title="@string/pref_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 <CheckBoxPreference
26 android:key="confirm_messages"
27 android:title="@string/pref_confirm_messages"
28 android:summary="@string/pref_confirm_messages_summary"
29 android:defaultValue="true"
30 />
31 </PreferenceCategory>
32 <PreferenceCategory
33 android:title="@string/pref_notification_settings">
34 <CheckBoxPreference
35 android:key="show_notification"
36 android:title="@string/pref_notifications"
37 android:summary="@string/pref_notifications_summary"
38 android:defaultValue="true"
39 />
40 <CheckBoxPreference
41 android:key="vibrate_on_notification"
42 android:dependency="show_notification"
43 android:title="@string/pref_vibrate"
44 android:summary="@string/pref_vibrate_summary"
45 android:defaultValue="true"/>
46 <RingtonePreference
47 android:key="notification_ringtone"
48 android:title="@string/pref_sound"
49 android:ringtoneType="notification"
50 android:dependency="show_notification"
51 android:summary="@string/pref_sound_summary"
52 android:defaultValue="content://settings/system/notification_sound"/>
53 <CheckBoxPreference
54 android:key="notify_in_conversation_when_highlighted"
55 android:title="@string/pref_conference_notifications"
56 android:summary="@string/pref_conference_notifications_summary"/>
57 <CheckBoxPreference
58 android:key="notification_grace_period_after_carbon_received"
59 android:title="@string/pref_notification_grace_period"
60 android:summary="@string/pref_notification_grace_period_summary"
61 android:defaultValue="true"/>
62 </PreferenceCategory>
63 <PreferenceCategory
64 android:title="@string/pref_advanced_options">
65 <CheckBoxPreference
66 android:key="never_send"
67 android:title="@string/pref_never_send_crash"
68 android:summary="@string/pref_never_send_crash_summary"
69 android:defaultValue="false"/>
70 </PreferenceCategory>
71</PreferenceScreen>