Conversations/res/xml/preferences.xml

80 lines
3.5 KiB
XML
Raw Normal View History

2014-01-24 02:04:05 +01:00
<?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"
2014-05-13 11:23:11 +02:00
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"/>
<CheckBoxPreference
android:key="confirm_messages"
android:title="@string/pref_confirm_messages"
android:summary="@string/pref_confirm_messages_summary"
android:defaultValue="true"
/>
2014-01-24 02:04:05 +01:00
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_notification_settings">
2014-01-24 02:04:05 +01:00
<CheckBoxPreference
android:key="show_notification"
android:title="@string/pref_notifications"
android:summary="@string/pref_notifications_summary"
2014-03-08 04:18:42 +01:00
android:defaultValue="true"
2014-01-24 02:04:05 +01:00
/>
<CheckBoxPreference
android:key="vibrate_on_notification"
android:dependency="show_notification"
android:title="@string/pref_vibrate"
android:summary="@string/pref_vibrate_summary"
2014-03-12 14:55:23 +01:00
android:defaultValue="true"/>
2014-01-24 02:04:05 +01:00
<RingtonePreference
android:key="notification_ringtone"
android:title="@string/pref_sound"
2014-01-24 02:04:05 +01:00
android:ringtoneType="notification"
android:dependency="show_notification"
android:summary="@string/pref_sound_summary"
2014-03-08 04:18:42 +01:00
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"/>
2014-04-07 23:58:59 +02:00
<CheckBoxPreference
android:key="notification_grace_period_after_carbon_received"
android:title="@string/pref_notification_grace_period"
android:summary="@string/pref_notification_grace_period_summary"
2014-04-07 23:58:59 +02:00
android:defaultValue="true"/>
2014-01-24 02:04:05 +01:00
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_ui_options">
2014-03-14 22:40:56 +01:00
<CheckBoxPreference
android:key="use_subject_in_muc"
android:title="@string/pref_conference_name"
android:summary="@string/pref_conference_name_summary"
2014-03-14 22:40:56 +01:00
android:defaultValue="true"/>
2014-01-24 02:04:05 +01:00
</PreferenceCategory>
2014-03-27 16:09:23 +01:00
<PreferenceCategory
android:title="@string/pref_advanced_options">
2014-03-27 16:09:23 +01:00
<CheckBoxPreference
android:key="never_send"
android:title="@string/pref_never_send_crash"
android:summary="@string/pref_never_send_crash_summary"
2014-03-27 16:09:23 +01:00
android:defaultValue="false"/>
</PreferenceCategory>
2014-01-24 02:04:05 +01:00
</PreferenceScreen>