2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/pref_general" >
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="grant_new_contacts"
|
|
|
|
android:summary="@string/pref_grant_presence_updates_summary"
|
|
|
|
android:title="@string/pref_grant_presence_updates" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="Mobile"
|
|
|
|
android:entries="@array/resources"
|
|
|
|
android:entryValues="@array/resources"
|
|
|
|
android:key="resource"
|
|
|
|
android:summary="@string/pref_xmpp_resource_summary"
|
|
|
|
android:title="@string/pref_xmpp_resource" />
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="524288"
|
|
|
|
android:entries="@array/filesizes"
|
|
|
|
android:entryValues="@array/filesizes_values"
|
|
|
|
android:key="auto_accept_file_size"
|
|
|
|
android:summary="@string/pref_accept_files_summary"
|
|
|
|
android:title="@string/pref_accept_files" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="confirm_messages"
|
|
|
|
android:summary="@string/pref_confirm_messages_summary"
|
|
|
|
android:title="@string/pref_confirm_messages" />
|
2015-02-21 10:06:52 +00:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="chat_states"
|
|
|
|
android:summary="@string/pref_chat_states_summary"
|
|
|
|
android:title="@string/pref_chat_states" />
|
|
|
|
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
2015-04-14 13:53:50 +00:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_notification_settings"
|
|
|
|
android:key="notifications">
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="show_notification"
|
|
|
|
android:summary="@string/pref_notifications_summary"
|
|
|
|
android:title="@string/pref_notifications" />
|
2014-12-14 07:02:17 +00:00
|
|
|
<PreferenceScreen
|
|
|
|
android:dependency="show_notification"
|
|
|
|
android:summary="@string/pref_quiet_hours_summary"
|
2015-04-14 13:53:50 +00:00
|
|
|
android:title="@string/title_pref_quiet_hours"
|
|
|
|
android:key="quiet_hours">
|
2014-12-14 07:02:17 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="enable_quiet_hours"
|
|
|
|
android:summary="@string/pref_quiet_hours_summary"
|
|
|
|
android:title="@string/title_pref_enable_quiet_hours" />
|
|
|
|
<eu.siacs.conversations.ui.TimePreference
|
|
|
|
android:dependency="enable_quiet_hours"
|
|
|
|
android:key="quiet_hours_start"
|
|
|
|
android:negativeButtonText="@string/cancel"
|
|
|
|
android:positiveButtonText="@string/set"
|
|
|
|
android:title="@string/title_pref_quiet_hours_start_time" />
|
|
|
|
<eu.siacs.conversations.ui.TimePreference
|
|
|
|
android:dependency="enable_quiet_hours"
|
|
|
|
android:key="quiet_hours_end"
|
|
|
|
android:negativeButtonText="@string/cancel"
|
|
|
|
android:positiveButtonText="@string/set"
|
|
|
|
android:title="@string/title_pref_quiet_hours_end_time" />
|
|
|
|
</PreferenceScreen>
|
|
|
|
<CheckBoxPreference
|
2014-10-22 16:38:44 +00:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:dependency="show_notification"
|
|
|
|
android:key="vibrate_on_notification"
|
|
|
|
android:summary="@string/pref_vibrate_summary"
|
|
|
|
android:title="@string/pref_vibrate" />
|
|
|
|
|
|
|
|
<RingtonePreference
|
|
|
|
android:defaultValue="content://settings/system/notification_sound"
|
|
|
|
android:dependency="show_notification"
|
|
|
|
android:key="notification_ringtone"
|
|
|
|
android:ringtoneType="notification"
|
|
|
|
android:summary="@string/pref_sound_summary"
|
|
|
|
android:title="@string/pref_sound" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:dependency="show_notification"
|
|
|
|
android:key="always_notify_in_conference"
|
|
|
|
android:summary="@string/pref_conference_notifications_summary"
|
|
|
|
android:title="@string/pref_conference_notifications" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_ui_options" >
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="use_subject"
|
|
|
|
android:summary="@string/pref_conference_name_summary"
|
|
|
|
android:title="@string/pref_conference_name" />
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="use_larger_font"
|
|
|
|
android:summary="@string/pref_use_larger_font_summary"
|
|
|
|
android:title="@string/pref_use_larger_font" />
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="send_button_status"
|
|
|
|
android:summary="@string/pref_use_send_button_to_indicate_status_summary"
|
|
|
|
android:title="@string/pref_use_send_button_to_indicate_status" />
|
2015-05-02 09:38:56 +00:00
|
|
|
<ListPreference
|
|
|
|
android:key="quick_action"
|
|
|
|
android:defaultValue="recent"
|
|
|
|
android:entries="@array/quick_actions"
|
|
|
|
android:entryValues="@array/quick_action_values"
|
|
|
|
android:summary="@string/pref_quick_action_summary"
|
|
|
|
android:title="@string/pref_quick_action"
|
|
|
|
android:dialogTitle="@string/choose_quick_action"/>
|
2014-11-16 16:21:21 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="show_dynamic_tags"
|
|
|
|
android:summary="@string/pref_show_dynamic_tags_summary"
|
|
|
|
android:title="@string/pref_show_dynamic_tags" />
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
2015-04-14 13:53:50 +00:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_advanced_options"
|
|
|
|
android:key="advanced">
|
2014-10-22 16:38:44 +00:00
|
|
|
<PreferenceScreen
|
|
|
|
android:summary="@string/pref_expert_options_summary"
|
2015-04-14 13:53:50 +00:00
|
|
|
android:title="@string/pref_expert_options"
|
|
|
|
android:key="expert">
|
2014-10-22 16:38:44 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_encryption_settings" >
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="force_encryption"
|
|
|
|
android:summary="@string/pref_force_encryption_summary"
|
|
|
|
android:title="@string/pref_force_encryption" />
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="dont_save_encrypted"
|
|
|
|
android:summary="@string/pref_dont_save_encrypted_summary"
|
|
|
|
android:title="@string/pref_dont_save_encrypted" />
|
|
|
|
</PreferenceCategory>
|
2015-01-09 18:23:26 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_input_options">
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="enter_is_send"
|
|
|
|
android:title="@string/pref_enter_is_send"
|
|
|
|
android:summary="@string/pref_enter_is_send_summary" />
|
2015-01-14 20:28:27 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="display_enter_key"
|
|
|
|
android:title="@string/pref_display_enter_key"
|
|
|
|
android:summary="@string/pref_display_enter_key_summary" />
|
2015-01-09 18:23:26 +00:00
|
|
|
</PreferenceCategory>
|
2015-04-19 16:08:13 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_certificate_options">
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="dont_trust_system_cas"
|
|
|
|
android:title="@string/pref_dont_trust_system_cas_title"
|
|
|
|
android:summary="@string/pref_dont_trust_system_cas_summary" />
|
|
|
|
<Preference
|
|
|
|
android:key="remove_trusted_certificates"
|
|
|
|
android:title="@string/pref_remove_trusted_certificates_title"
|
|
|
|
android:summary="@string/pref_remove_trusted_certificates_summary" />
|
|
|
|
</PreferenceCategory>
|
2014-10-22 16:38:44 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_expert_options_other" >
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="indicate_received"
|
|
|
|
android:summary="@string/pref_use_indicate_received_summary"
|
|
|
|
android:title="@string/pref_use_indicate_received" />
|
2014-11-12 13:41:43 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="keep_foreground_service"
|
|
|
|
android:title="@string/pref_keep_foreground_service"
|
|
|
|
android:summary="@string/pref_keep_foreground_service_summary" />
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="never_send"
|
|
|
|
android:summary="@string/pref_never_send_crash_summary"
|
|
|
|
android:title="@string/pref_never_send_crash" />
|
|
|
|
</PreferenceCategory>
|
2014-11-04 17:08:30 +00:00
|
|
|
<eu.siacs.conversations.ui.AboutPreference
|
2014-10-22 02:53:30 +00:00
|
|
|
android:summary="@string/pref_about_conversations_summary"
|
2014-11-04 17:08:30 +00:00
|
|
|
android:title="@string/title_activity_about" />
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceScreen>
|