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        <ListPreference 
19            android:key="auto_accept_file_size"
20            android:title="Accept files"
21            android:summary="Automatically accept files smaller than"
22            android:entries="@array/filesizes"
23            android:entryValues="@array/filesizes_values"
24            android:defaultValue="524288"/>
25    </PreferenceCategory>
26    <PreferenceCategory 
27        android:title="Notification Settings">
28        <CheckBoxPreference 
29            android:key="show_notification"
30            android:title="Notification"
31            android:summary="Notify when a new message arrives"
32            android:defaultValue="true"
33            />
34        <CheckBoxPreference
35            android:key="vibrate_on_notification"
36            android:dependency="show_notification"
37            android:title="Vibrate"
38            android:summary="Also vibrate when a new message arrives"
39            android:defaultValue="true"/>
40        <RingtonePreference 
41            android:key="notification_ringtone"
42            android:title="Sound"
43            android:ringtoneType="notification"
44            android:dependency="show_notification"
45            android:summary="Play ringtone with notification"
46            android:defaultValue="content://settings/system/notification_sound"/>
47        <CheckBoxPreference 
48            android:key="notify_in_conversation_when_highlighted"
49            android:title="Conference notification"
50            android:summary="Always notify when a new conference message arrives instead of only when highlighted"/>
51        <CheckBoxPreference
52            android:key="notification_grace_period_after_carbon_received"
53            android:title="Notification grace period"
54            android:summary="Disable notifications for a short time after a carbon copy was received"
55            android:defaultValue="true"/>
56    </PreferenceCategory>
57    <PreferenceCategory 
58        android:title="UI Options">
59        <CheckBoxPreference 
60            android:key="show_phone_selfcontact_picture"
61            android:title="Use Phones self contact picture"
62            android:summary="You may no longer be able to distinguish which account you are using in a conversation"
63            android:defaultValue="true"/>
64        <CheckBoxPreference 
65            android:key="use_subject_in_muc"
66            android:title="Conference Name"
67            android:summary="Use room’s subject to identify Conferences"
68            android:defaultValue="true"/>
69    </PreferenceCategory>
70    <PreferenceCategory
71        android:title="Advanced Options">
72        <CheckBoxPreference 
73            android:key="never_send"
74            android:title="Never send crash reports"
75            android:summary="By sending in stack traces you are helping the ongoing development of Conversations"
76            android:defaultValue="false"/>
77    </PreferenceCategory>
78</PreferenceScreen>