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="Security and Privacy Options">
 5        <ListPreference
 6            android:key="default_conversation_encryption_type"
 7            android:title="Default conversation encryption"
 8            android:dialogTitle="Default conversation encryption"
 9            android:entries="@array/conversation_encryption_type_entries"
10            android:entryValues="@array/conversation_encryption_type_values"
11            android:defaultValue="none"/>
12        <CheckBoxPreference 
13            android:key="grant_new_contacts"
14            android:title="Grant presence updates"
15            android:summary="Preemptivly grant and ask for presence subscription for contacts you created"
16            android:defaultValue="true"
17            />
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        <RingtonePreference 
33            android:key="notification_ringtone"
34            android:title="Sound"
35            android:ringtoneType="notification"
36            android:dependency="show_notification"
37            android:summary="Play ringtone with notification"
38            android:defaultValue="content://settings/system/notification_sound"/>
39        <CheckBoxPreference 
40            android:key="notify_in_conversation_when_highlighted"
41            android:title="Conference notification"
42            android:summary="Always notify when a new conference message arrives instead of only when highlighted"/>
43    </PreferenceCategory>
44    <PreferenceCategory 
45        android:title="UI Options">
46        <CheckBoxPreference 
47            android:key="show_phone_selfcontact_picture"
48            android:title="Use Phones self contact picture"
49            android:summary="You may no longer be able to distinguish which account you are using in a conversation"
50            android:defaultValue="true"/>
51    </PreferenceCategory>
52</PreferenceScreen>