aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/preferences.xml
blob: bf304161e868fcf7b710b0bf6d399fd51b1fdba5 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
    <PreferenceCategory 
        android:title="General">
        <CheckBoxPreference 
            android:key="grant_new_contacts"
            android:title="@string/pref_grant_presence_updates"
            android:summary="@string/pref_grant_presence_updates_summary"
            android:defaultValue="true"
            />
        <ListPreference 
            android:key="resource"
            android:title="@string/pref_xmpp_resource"
            android:summary="@string/pref_xmpp_resource_summary"
            android:entries="@array/resources"
            android:entryValues="@array/resources"
            android:defaultValue="Mobile"/>
        <ListPreference 
            android:key="auto_accept_file_size"
            android:title="@string/pref_accept_files"
            android:summary="@string/pref_accept_files_summary"
            android:entries="@array/filesizes"
            android:entryValues="@array/filesizes_values"
            android:defaultValue="524288"/>
        <ListPreference 
            android:key="auto_acknowledge_messages"
            android:title="@string/pref_auto_acknowledge_messages"
            android:summary="@string/pref_auto_acknowledge_messages_summary"
            android:entries="@array/message_acks"
            android:entryValues="@array/message_acks_values"
            android:defaultValue="2"
            />
    </PreferenceCategory>
    <PreferenceCategory 
        android:title="@string/pref_notification_settings">
        <CheckBoxPreference 
            android:key="show_notification"
            android:title="@string/pref_notifications"
            android:summary="@string/pref_notifications_summary"
            android:defaultValue="true"
            />
        <CheckBoxPreference
            android:key="vibrate_on_notification"
            android:dependency="show_notification"
            android:title="@string/pref_vibrate"
            android:summary="@string/pref_vibrate_summary"
            android:defaultValue="true"/>
        <RingtonePreference 
            android:key="notification_ringtone"
            android:title="@string/pref_sound"
            android:ringtoneType="notification"
            android:dependency="show_notification"
            android:summary="@string/pref_sound_summary"
            android:defaultValue="content://settings/system/notification_sound"/>
        <CheckBoxPreference 
            android:key="notify_in_conversation_when_highlighted"
            android:title="@string/pref_conference_notifications"
            android:summary="@string/pref_conference_notifications_summary"/>
        <CheckBoxPreference
            android:key="notification_grace_period_after_carbon_received"
            android:title="@string/pref_notification_grace_period"
            android:summary="@string/pref_notification_grace_period_summary"
            android:defaultValue="true"/>
    </PreferenceCategory>
    <PreferenceCategory 
        android:title="@string/pref_ui_options">
        <CheckBoxPreference 
            android:key="show_phone_selfcontact_picture"
            android:title="@string/pref_use_phone_self_picture"
            android:summary="@string/pref_use_phone_self_picture_summary"
            android:defaultValue="true"/>
        <CheckBoxPreference 
            android:key="use_subject_in_muc"
            android:title="@string/pref_conference_name"
            android:summary="@string/pref_conference_name_summary"
            android:defaultValue="true"/>
    </PreferenceCategory>
    <PreferenceCategory
        android:title="@string/pref_advanced_options">
        <CheckBoxPreference 
            android:key="never_send"
            android:title="@string/pref_never_send_crash"
            android:summary="@string/pref_never_send_crash_summary"
            android:defaultValue="false"/>
    </PreferenceCategory>
</PreferenceScreen>