aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/preferences.xml
blob: 904ea07e0538fb35e6e5f75f76554932d0a122c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
    <PreferenceCategory 
        android:title="Security and Privacy Options">
        <ListPreference
            android:key="default_conversation_encryption_type"
            android:title="Default conversation encryption"
            android:dialogTitle="Default conversation encryption"
            android:entries="@array/conversation_encryption_type_entries"
            android:entryValues="@array/conversation_encryption_type_values"
            android:defaultValue="none"/>
        <CheckBoxPreference 
            android:key="grant_new_contacts"
            android:title="Grant presence updates"
            android:summary="Preemptivly grant and ask for presence subscription for contacts you created"
            android:defaultValue="true"
            />
    </PreferenceCategory>
    <PreferenceCategory 
        android:title="Notification Settings">
        <CheckBoxPreference 
            android:key="show_notification"
            android:title="Notification"
            android:summary="Notify when a new message arrives"
            android:defaultValue="true"
            />
        <CheckBoxPreference
            android:key="vibrate_on_notification"
            android:dependency="show_notification"
            android:title="Vibrate"
            android:summary="Also vibrate when a new message arrives"
            android:defaultValue="true"/>
        <RingtonePreference 
            android:key="notification_ringtone"
            android:title="Sound"
            android:ringtoneType="notification"
            android:dependency="show_notification"
            android:summary="Play ringtone with notification"
            android:defaultValue="content://settings/system/notification_sound"/>
        <CheckBoxPreference 
            android:key="notify_in_conversation_when_highlighted"
            android:title="Conference notification"
            android:summary="Always notify when a new conference message arrives instead of only when highlighted"/>
    </PreferenceCategory>
    <PreferenceCategory 
        android:title="UI Options">
        <CheckBoxPreference 
            android:key="show_phone_selfcontact_picture"
            android:title="Use Phones self contact picture"
            android:summary="You may no longer be able to distinguish which account you are using in a conversation"
            android:defaultValue="true"/>
        <CheckBoxPreference 
            android:key="use_subject_in_muc"
            android:title="Conference Name"
            android:summary="Use room’s subject to identify Conferences"
            android:defaultValue="true"/>
    </PreferenceCategory>
</PreferenceScreen>