2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:background="?attr/color_background_secondary">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2015-07-30 22:51:30 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_general">
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="grant_new_contacts"
|
|
|
|
android:summary="@string/pref_grant_presence_updates_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_grant_presence_updates"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<ListPreference
|
2016-05-12 16:47:41 +00:00
|
|
|
android:defaultValue="@string/default_resource"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:entries="@array/resources"
|
|
|
|
android:entryValues="@array/resources"
|
|
|
|
android:key="resource"
|
|
|
|
android:summary="@string/pref_xmpp_resource_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_xmpp_resource"/>
|
2016-06-04 14:16:14 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_privacy">
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="confirm_messages"
|
|
|
|
android:summary="@string/pref_confirm_messages_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
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"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_chat_states"/>
|
2016-06-04 14:16:14 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="last_activity"
|
|
|
|
android:title="@string/pref_broadcast_last_activity"
|
|
|
|
android:summary="@string/pref_broadcast_last_activity_summary"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_notification_settings">
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="show_notification"
|
|
|
|
android:summary="@string/pref_notifications_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_notifications"/>
|
2017-03-07 09:50:46 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/notifications_from_strangers"
|
|
|
|
android:key="notifications_from_strangers"
|
|
|
|
android:dependency="show_notification"
|
|
|
|
android:title="@string/pref_notifications_from_strangers"
|
|
|
|
android:summary="@string/pref_notifications_from_strangers_summary"/>
|
2016-06-01 22:24:37 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:dependency="show_notification"
|
|
|
|
android:key="vibrate_on_notification"
|
|
|
|
android:summary="@string/pref_vibrate_summary"
|
|
|
|
android:title="@string/pref_vibrate"/>
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:dependency="show_notification"
|
|
|
|
android:key="led"
|
|
|
|
android:title="@string/pref_led"
|
|
|
|
android:summary="@string/pref_led_summary"/>
|
|
|
|
<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"/>
|
2015-07-30 22:51:30 +00:00
|
|
|
<PreferenceScreen
|
2014-12-14 07:02:17 +00:00
|
|
|
android:dependency="show_notification"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="quiet_hours"
|
2014-12-14 07:02:17 +00:00
|
|
|
android:summary="@string/pref_quiet_hours_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/title_pref_quiet_hours">
|
2014-12-14 07:02:17 +00:00
|
|
|
<CheckBoxPreference
|
2015-07-30 22:51:30 +00:00
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="enable_quiet_hours"
|
|
|
|
android:summary="@string/pref_quiet_hours_summary"
|
|
|
|
android:title="@string/title_pref_enable_quiet_hours"/>
|
2014-12-14 07:02:17 +00:00
|
|
|
<eu.siacs.conversations.ui.TimePreference
|
2015-07-30 22:51:30 +00:00
|
|
|
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"/>
|
2014-12-14 07:02:17 +00:00
|
|
|
<eu.siacs.conversations.ui.TimePreference
|
2015-07-30 22:51:30 +00:00
|
|
|
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>
|
2016-06-01 22:24:37 +00:00
|
|
|
<ListPreference
|
2014-10-22 16:38:44 +00:00
|
|
|
android:dependency="show_notification"
|
2016-06-01 22:24:37 +00:00
|
|
|
android:key="grace_period_length"
|
|
|
|
android:title="@string/pref_notification_grace_period"
|
|
|
|
android:summary="@string/pref_notification_grace_period_summary"
|
|
|
|
android:defaultValue="144"
|
|
|
|
android:entries="@array/grace_periods"
|
|
|
|
android:entryValues="@array/grace_periods_values"
|
|
|
|
/>
|
2016-04-14 19:12:44 +00:00
|
|
|
</PreferenceCategory>
|
2016-06-04 14:16:14 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_attachments">
|
2016-04-14 19:12:44 +00:00
|
|
|
<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"/>
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="auto"
|
|
|
|
android:entries="@array/picture_compression_entries"
|
|
|
|
android:entryValues="@array/picture_compression_values"
|
|
|
|
android:key="picture_compression"
|
|
|
|
android:summary="@string/pref_picture_compression_summary"
|
|
|
|
android:title="@string/pref_picture_compression"/>
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="return_to_previous"
|
|
|
|
android:title="@string/pref_return_to_previous"
|
|
|
|
android:summary="@string/pref_return_to_previous_summary"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
2015-07-30 22:51:30 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_ui_options">
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="light"
|
|
|
|
android:entries="@array/themes"
|
|
|
|
android:entryValues="@array/themes_values"
|
|
|
|
android:key="theme"
|
|
|
|
android:summary="@string/pref_theme_options_summary"
|
|
|
|
android:title="@string/pref_theme_options"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="use_subject"
|
|
|
|
android:summary="@string/pref_conference_name_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_conference_name"/>
|
2015-08-24 18:56:25 +00:00
|
|
|
<CheckBoxPreference
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="use_green_background"
|
|
|
|
android:summary="@string/pref_use_green_background_summary"
|
|
|
|
android:title="@string/pref_use_green_background"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="use_larger_font"
|
|
|
|
android:summary="@string/pref_use_larger_font_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_use_larger_font"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="send_button_status"
|
|
|
|
android:summary="@string/pref_use_send_button_to_indicate_status_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_use_send_button_to_indicate_status"/>
|
2015-05-02 09:38:56 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="recent"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:dialogTitle="@string/choose_quick_action"
|
2015-05-02 09:38:56 +00:00
|
|
|
android:entries="@array/quick_actions"
|
|
|
|
android:entryValues="@array/quick_action_values"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="quick_action"
|
2015-05-02 09:38:56 +00:00
|
|
|
android:summary="@string/pref_quick_action_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_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"
|
2015-07-30 22:51:30 +00:00
|
|
|
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
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="advanced"
|
|
|
|
android:title="@string/pref_advanced_options">
|
2014-10-22 16:38:44 +00:00
|
|
|
<PreferenceScreen
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="expert"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:summary="@string/pref_expert_options_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_expert_options">
|
2016-11-08 10:45:20 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_security_settings"
|
|
|
|
android:key="security_options">
|
2016-11-23 09:42:27 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="btbv"
|
|
|
|
android:title="@string/pref_blind_trust_before_verification"
|
|
|
|
android:summary="@string/pref_blind_trust_before_verification_summary"/>
|
2017-01-23 16:14:30 +00:00
|
|
|
<ListPreference
|
|
|
|
android:key="automatic_message_deletion"
|
|
|
|
android:title="@string/pref_automatically_delete_messages"
|
|
|
|
android:summary="@string/pref_automatically_delete_messages_description"
|
|
|
|
android:defaultValue="0"
|
|
|
|
android:entries="@array/automatic_message_deletion"
|
|
|
|
android:entryValues="@array/automatic_message_deletion_values" />
|
2015-07-30 22:51:30 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="dont_trust_system_cas"
|
|
|
|
android:summary="@string/pref_dont_trust_system_cas_summary"
|
|
|
|
android:title="@string/pref_dont_trust_system_cas_title"/>
|
|
|
|
<Preference
|
|
|
|
android:key="remove_trusted_certificates"
|
|
|
|
android:summary="@string/pref_remove_trusted_certificates_summary"
|
|
|
|
android:title="@string/pref_remove_trusted_certificates_title"/>
|
2016-02-16 08:57:59 +00:00
|
|
|
<CheckBoxPreference
|
2016-07-17 20:42:37 +00:00
|
|
|
android:defaultValue="true"
|
2016-02-16 08:57:59 +00:00
|
|
|
android:key="allow_message_correction"
|
|
|
|
android:title="@string/pref_allow_message_correction"
|
|
|
|
android:summary="@string/pref_allow_message_correction_summary"/>
|
2016-11-08 10:45:20 +00:00
|
|
|
<Preference
|
|
|
|
android:key="clean_cache"
|
|
|
|
android:summary="@string/pref_clean_cache_summary"
|
|
|
|
android:title="@string/pref_clean_cache"/>
|
|
|
|
<Preference
|
|
|
|
android:key="clean_private_storage"
|
|
|
|
android:summary="@string/pref_clean_private_storage_summary"
|
|
|
|
android:title="@string/pref_clean_private_storage"/>
|
2016-09-28 10:24:50 +00:00
|
|
|
<Preference
|
|
|
|
android:key="delete_omemo_identities"
|
|
|
|
android:title="@string/pref_delete_omemo_identities"
|
|
|
|
android:summary="@string/pref_delete_omemo_identities_summary"/>
|
2015-07-30 22:51:30 +00:00
|
|
|
</PreferenceCategory>
|
2015-12-01 21:41:58 +00:00
|
|
|
<PreferenceCategory
|
2016-01-09 15:17:39 +00:00
|
|
|
android:key="connection_options"
|
|
|
|
android:title="@string/pref_connection_options">
|
2015-11-28 19:11:38 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="use_tor"
|
2016-01-09 15:17:39 +00:00
|
|
|
android:summary="@string/pref_use_tor_summary"
|
|
|
|
android:title="@string/pref_use_tor"/>
|
2016-01-25 20:17:53 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="show_connection_options"
|
|
|
|
android:summary="@string/pref_show_connection_options_summary"
|
|
|
|
android:title="@string/pref_show_connection_options"/>
|
2015-11-28 19:11:38 +00:00
|
|
|
</PreferenceCategory>
|
2015-07-30 22:51:30 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_input_options">
|
|
|
|
<CheckBoxPreference
|
2017-03-02 12:03:30 +00:00
|
|
|
android:defaultValue="@bool/enter_is_send"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="enter_is_send"
|
|
|
|
android:summary="@string/pref_enter_is_send_summary"
|
|
|
|
android:title="@string/pref_enter_is_send"/>
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="display_enter_key"
|
|
|
|
android:summary="@string/pref_display_enter_key_summary"
|
|
|
|
android:title="@string/pref_display_enter_key"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
2015-10-07 22:35:04 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_presence_settings">
|
2016-04-22 19:25:06 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="manually_change_presence"
|
|
|
|
android:title="@string/pref_manually_change_presence"
|
|
|
|
android:summary="@string/pref_manually_change_presence_summary"
|
|
|
|
android:disableDependentsState="true"/>
|
2015-10-07 22:35:04 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="away_when_screen_off"
|
|
|
|
android:summary="@string/pref_away_when_screen_off_summary"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:title="@string/pref_away_when_screen_off"
|
|
|
|
android:dependency="manually_change_presence"/>
|
2015-10-07 22:35:04 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="xa_on_silent_mode"
|
|
|
|
android:summary="@string/pref_xa_on_silent_mode_summary"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:title="@string/pref_xa_on_silent_mode"
|
|
|
|
android:dependency="manually_change_presence"/>
|
2016-03-01 18:00:18 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:dependency="xa_on_silent_mode"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="treat_vibrate_as_silent"
|
|
|
|
android:title="@string/pref_treat_vibrate_as_silent"
|
|
|
|
android:summary="@string/pref_treat_vibrate_as_silent_summary"/>
|
2015-10-07 22:35:04 +00:00
|
|
|
</PreferenceCategory>
|
2015-07-30 22:51:30 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_expert_options_other">
|
2016-02-01 12:54:08 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="autojoin"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:title="@string/pref_autojoin"
|
|
|
|
android:summary="@string/pref_autojoin_summary"
|
|
|
|
/>
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="indicate_received"
|
|
|
|
android:summary="@string/pref_use_indicate_received_summary"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_use_indicate_received"/>
|
2014-11-12 13:41:43 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
2016-11-30 09:45:39 +00:00
|
|
|
android:key="enable_foreground_service"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:summary="@string/pref_keep_foreground_service_summary"
|
|
|
|
android:title="@string/pref_keep_foreground_service"/>
|
2016-09-28 10:35:52 +00:00
|
|
|
<Preference
|
2016-01-09 15:17:39 +00:00
|
|
|
android:key="export_logs"
|
|
|
|
android:summary="@string/pref_export_logs_summary"
|
|
|
|
android:title="@string/pref_export_logs"/>
|
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"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:title="@string/pref_never_send_crash"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
2015-07-30 22:51:30 +00:00
|
|
|
<eu.siacs.conversations.ui.AboutPreference
|
|
|
|
android:summary="@string/pref_about_conversations_summary"
|
|
|
|
android:title="@string/title_activity_about"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceScreen>
|