preferences.xml

 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="Grant presence updates"
 8            android:summary="Preemptivly grant and ask for presence subscription for contacts you created"
 9            android:defaultValue="true"
10            />
11        <ListPreference 
12            android:key="resource"
13            android:title="XMPP Resource"
14            android:summary="The name this client identifies itself"
15            android:entries="@array/resources"
16            android:entryValues="@array/resources"
17            android:defaultValue="Mobile"/>
18    </PreferenceCategory>
19    <PreferenceCategory 
20        android:title="Notification Settings">
21        <CheckBoxPreference 
22            android:key="show_notification"
23            android:title="Notification"
24            android:summary="Notify when a new message arrives"
25            android:defaultValue="true"
26            />
27        <CheckBoxPreference
28            android:key="vibrate_on_notification"
29            android:dependency="show_notification"
30            android:title="Vibrate"
31            android:summary="Also vibrate when a new message arrives"
32            android:defaultValue="true"/>
33        <RingtonePreference 
34            android:key="notification_ringtone"
35            android:title="Sound"
36            android:ringtoneType="notification"
37            android:dependency="show_notification"
38            android:summary="Play ringtone with notification"
39            android:defaultValue="content://settings/system/notification_sound"/>
40        <CheckBoxPreference 
41            android:key="notify_in_conversation_when_highlighted"
42            android:title="Conference notification"
43            android:summary="Always notify when a new conference message arrives instead of only when highlighted"/>
44        <CheckBoxPreference
45            android:key="notification_grace_period_after_carbon_received"
46            android:title="Notification grace period"
47            android:summary="Disable notifications for a short time after a carbon copy was received"
48            android:defaultValue="true"/>
49    </PreferenceCategory>
50    <PreferenceCategory 
51        android:title="UI Options">
52        <CheckBoxPreference 
53            android:key="show_phone_selfcontact_picture"
54            android:title="Use Phones self contact picture"
55            android:summary="You may no longer be able to distinguish which account you are using in a conversation"
56            android:defaultValue="true"/>
57        <CheckBoxPreference 
58            android:key="use_subject_in_muc"
59            android:title="Conference Name"
60            android:summary="Use room’s subject to identify Conferences"
61            android:defaultValue="true"/>
62    </PreferenceCategory>
63    <PreferenceCategory
64        android:title="Advanced Options">
65        <CheckBoxPreference 
66            android:key="never_send"
67            android:title="Never send crash reports"
68            android:summary="By sending in stack traces you are helping the ongoing development of Conversations"
69            android:defaultValue="false"/>
70    </PreferenceCategory>
71</PreferenceScreen>