2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-09-05 19:37:05 +00:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:background="?attr/color_background_secondary"
|
|
|
|
android:key="main_screen">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-05-01 10:03:35 +00:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="general"
|
|
|
|
android:title="@string/pref_general">
|
2018-01-28 12:31:12 +00:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="huawei"
|
|
|
|
android:summary="@string/huawei_protected_apps_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/huawei_protected_apps">
|
2018-01-28 12:31:12 +00:00
|
|
|
<intent
|
2018-05-01 10:03:35 +00:00
|
|
|
android:targetClass="com.huawei.systemmanager.optimize.process.ProtectActivity"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:targetPackage="com.huawei.systemmanager" />
|
2018-01-28 12:31:12 +00:00
|
|
|
</PreferenceScreen>
|
2016-06-04 14:16:14 +00:00
|
|
|
</PreferenceCategory>
|
2022-10-01 09:26:52 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_privacy"
|
|
|
|
android:key="privacy">
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/confirm_messages"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:key="confirm_messages"
|
|
|
|
android:summary="@string/pref_confirm_messages_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_confirm_messages" />
|
2015-02-21 10:06:52 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/chat_states"
|
2015-02-21 10:06:52 +00:00
|
|
|
android:key="chat_states"
|
|
|
|
android:summary="@string/pref_chat_states_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_chat_states" />
|
2019-11-02 08:43:37 +00:00
|
|
|
|
2016-06-04 14:16:14 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/last_activity"
|
2016-06-04 14:16:14 +00:00
|
|
|
android:key="last_activity"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_broadcast_last_activity_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_broadcast_last_activity" />
|
2021-07-27 19:27:09 +00:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/prevent_screenshots"
|
|
|
|
android:key="prevent_screenshots"
|
|
|
|
android:summary="@string/pref_prevent_screenshots_summary"
|
|
|
|
android:title="@string/pref_prevent_screenshots" />
|
|
|
|
|
2019-11-02 08:43:37 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/omemo_setting_default"
|
|
|
|
android:entries="@array/omemo_setting_entries"
|
|
|
|
android:entryValues="@array/omemo_setting_entry_values"
|
|
|
|
android:key="omemo"
|
|
|
|
android:summary="@string/pref_omemo_setting_summary_default_on"
|
|
|
|
android:title="@string/pref_omemo_setting" />
|
2018-05-01 10:03:35 +00:00
|
|
|
</PreferenceCategory>
|
2018-09-05 19:37:05 +00:00
|
|
|
<PreferenceCategory
|
2019-11-02 08:43:37 +00:00
|
|
|
android:key="notification_category"
|
|
|
|
android:title="@string/pref_notification_settings">
|
2018-09-06 14:56:31 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/notifications_from_strangers"
|
|
|
|
android:key="notifications_from_strangers"
|
|
|
|
android:summary="@string/pref_notifications_from_strangers_summary"
|
|
|
|
android:title="@string/pref_notifications_from_strangers" />
|
2017-06-25 14:00:07 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/headsup_notifications"
|
|
|
|
android:key="notification_headsup"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_headsup_notifications_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_headsup_notifications" />
|
2016-06-01 22:24:37 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/vibrate_on_notification"
|
2016-06-01 22:24:37 +00:00
|
|
|
android:key="vibrate_on_notification"
|
|
|
|
android:summary="@string/pref_vibrate_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_vibrate" />
|
2016-06-01 22:24:37 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/led"
|
2016-06-01 22:24:37 +00:00
|
|
|
android:key="led"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_led_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_led" />
|
2019-11-02 08:43:37 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@integer/grace_period"
|
|
|
|
android:entries="@array/grace_periods"
|
|
|
|
android:entryValues="@array/grace_periods_values"
|
|
|
|
android:key="grace_period_length"
|
|
|
|
android:summary="@string/pref_notification_grace_period_summary"
|
|
|
|
android:title="@string/pref_notification_grace_period" />
|
2015-07-30 22:51:30 +00:00
|
|
|
<PreferenceScreen
|
|
|
|
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
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/enable_quiet_hours"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="enable_quiet_hours"
|
|
|
|
android:summary="@string/pref_quiet_hours_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
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"
|
2018-09-05 19:37:05 +00:00
|
|
|
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"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/title_pref_quiet_hours_end_time" />
|
2019-11-02 08:43:37 +00:00
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.VIEW"
|
|
|
|
android:targetClass="eu.siacs.conversations.ui.SettingsActivity"
|
|
|
|
android:targetPackage="@string/applicationId">
|
|
|
|
<extra
|
|
|
|
android:name="page"
|
|
|
|
android:value="quiet_hours" />
|
|
|
|
</intent>
|
2015-07-30 22:51:30 +00:00
|
|
|
</PreferenceScreen>
|
2019-11-02 08:43:37 +00:00
|
|
|
<PreferenceScreen
|
2020-04-20 10:19:34 +00:00
|
|
|
android:key="message_notification_settings"
|
2019-11-02 08:43:37 +00:00
|
|
|
android:summary="@string/pref_more_notification_settings_summary"
|
2020-04-20 10:19:34 +00:00
|
|
|
android:title="@string/pref_message_notification_settings">
|
2019-11-02 08:43:37 +00:00
|
|
|
<intent android:action="android.settings.CHANNEL_NOTIFICATION_SETTINGS">
|
|
|
|
<extra
|
|
|
|
android:name="android.provider.extra.APP_PACKAGE"
|
|
|
|
android:value="@string/applicationId" />
|
|
|
|
<extra
|
|
|
|
android:name="android.provider.extra.CHANNEL_ID"
|
|
|
|
android:value="messages" />
|
|
|
|
</intent>
|
|
|
|
</PreferenceScreen>
|
|
|
|
<RingtonePreference
|
|
|
|
android:defaultValue="@string/notification_ringtone"
|
|
|
|
android:key="notification_ringtone"
|
|
|
|
android:ringtoneType="notification"
|
2020-04-16 18:26:46 +00:00
|
|
|
android:summary="@string/pref_notification_sound_summary"
|
|
|
|
android:title="@string/pref_notification_sound" />
|
|
|
|
<RingtonePreference
|
2021-02-22 12:59:07 +00:00
|
|
|
android:defaultValue="@string/incoming_call_ringtone"
|
2020-04-16 18:26:46 +00:00
|
|
|
android:key="call_ringtone"
|
|
|
|
android:ringtoneType="ringtone"
|
|
|
|
android:summary="@string/pref_call_ringtone_summary"
|
|
|
|
android:title="@string/pref_ringtone" />
|
2016-04-14 19:12:44 +00:00
|
|
|
</PreferenceCategory>
|
2018-05-01 10:03:35 +00:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="attachments"
|
|
|
|
android:title="@string/pref_attachments">
|
2019-11-02 08:43:37 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/use_share_location_plugin"
|
|
|
|
android:key="use_share_location_plugin"
|
|
|
|
android:summary="@string/pref_use_share_location_plugin_summary"
|
|
|
|
android:title="@string/pref_use_share_location_plugin" />
|
2016-04-14 19:12:44 +00:00
|
|
|
<ListPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@string/picture_compression"
|
2016-04-14 19:12:44 +00:00
|
|
|
android:entries="@array/picture_compression_entries"
|
|
|
|
android:entryValues="@array/picture_compression_values"
|
|
|
|
android:key="picture_compression"
|
|
|
|
android:summary="@string/pref_picture_compression_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_picture_compression" />
|
2018-10-06 14:15:32 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/video_compression"
|
|
|
|
android:entries="@array/video_compression_entries"
|
|
|
|
android:entryValues="@array/video_compression_values"
|
|
|
|
android:key="video_compression"
|
|
|
|
android:summary="@string/pref_video_compression_summary"
|
|
|
|
android:title="@string/pref_video_compression" />
|
2019-11-02 08:43:37 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@integer/auto_accept_filesize"
|
|
|
|
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" />
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
2015-07-30 22:51:30 +00:00
|
|
|
<PreferenceCategory android:title="@string/pref_ui_options">
|
2015-08-24 18:56:25 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/use_green_background"
|
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:key="use_green_background"
|
|
|
|
android:summary="@string/pref_use_green_background_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_use_green_background" />
|
2019-11-02 08:43:37 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/show_dynamic_tags"
|
|
|
|
android:key="show_dynamic_tags"
|
|
|
|
android:summary="@string/pref_show_dynamic_tags_summary"
|
|
|
|
android:title="@string/pref_show_dynamic_tags" />
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/theme"
|
|
|
|
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" />
|
2015-05-02 09:38:56 +00:00
|
|
|
<ListPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@string/quick_action"
|
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"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_quick_action" />
|
2019-11-02 08:43:37 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/default_font_size"
|
|
|
|
android:entries="@array/font_size_entries"
|
|
|
|
android:entryValues="@array/font_size_entry_values"
|
|
|
|
android:key="font_size"
|
|
|
|
android:summary="@string/pref_font_size_summary"
|
|
|
|
android:title="@string/pref_font_size" />
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceCategory>
|
2019-11-08 13:14:28 +00:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="backup_category"
|
|
|
|
android:title="@string/backup">
|
|
|
|
<Preference
|
|
|
|
android:key="create_backup"
|
|
|
|
android:summary="@string/pref_create_backup_summary"
|
|
|
|
android:title="@string/pref_create_backup" />
|
|
|
|
</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">
|
2019-11-02 08:43:37 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/never_send"
|
|
|
|
android:key="never_send"
|
|
|
|
android:summary="@string/pref_never_send_crash_summary"
|
|
|
|
android:title="@string/pref_never_send_crash" />
|
|
|
|
|
2019-11-08 13:14:28 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/enable_foreground_service"
|
|
|
|
android:key="enable_foreground_service"
|
|
|
|
android:summary="@string/pref_keep_foreground_service_summary"
|
|
|
|
android:title="@string/pref_keep_foreground_service" />
|
|
|
|
|
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">
|
2018-05-01 10:03:35 +00:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="security_options"
|
|
|
|
android:title="@string/pref_security_settings">
|
2016-11-23 09:42:27 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/btbv"
|
2016-11-23 09:42:27 +00:00
|
|
|
android:key="btbv"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_blind_trust_before_verification_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_blind_trust_before_verification" />
|
2015-07-30 22:51:30 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/dont_trust_system_cas"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="dont_trust_system_cas"
|
|
|
|
android:summary="@string/pref_dont_trust_system_cas_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_dont_trust_system_cas_title" />
|
2017-07-10 07:59:25 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/validate_hostname"
|
|
|
|
android:key="validate_hostname"
|
|
|
|
android:summary="@string/pref_validate_hostname_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_validate_hostname" />
|
2016-02-16 08:57:59 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/allow_message_correction"
|
2016-02-16 08:57:59 +00:00
|
|
|
android:key="allow_message_correction"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_allow_message_correction_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_allow_message_correction" />
|
2019-11-02 08:43:37 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@integer/automatic_message_deletion"
|
|
|
|
android:key="automatic_message_deletion"
|
|
|
|
android:summary="@string/pref_automatically_delete_messages_description"
|
|
|
|
android:title="@string/pref_automatically_delete_messages" />
|
|
|
|
<Preference
|
|
|
|
android:key="remove_trusted_certificates"
|
|
|
|
android:summary="@string/pref_remove_trusted_certificates_summary"
|
|
|
|
android:title="@string/pref_remove_trusted_certificates_title" />
|
2016-11-08 10:45:20 +00:00
|
|
|
<Preference
|
|
|
|
android:key="clean_cache"
|
|
|
|
android:summary="@string/pref_clean_cache_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_clean_cache" />
|
2016-11-08 10:45:20 +00:00
|
|
|
<Preference
|
|
|
|
android:key="clean_private_storage"
|
|
|
|
android:summary="@string/pref_clean_private_storage_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_clean_private_storage" />
|
2016-09-28 10:24:50 +00:00
|
|
|
<Preference
|
|
|
|
android:key="delete_omemo_identities"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_delete_omemo_identities_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_delete_omemo_identities" />
|
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
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/use_tor"
|
2015-11-28 19:11:38 +00:00
|
|
|
android:key="use_tor"
|
2016-01-09 15:17:39 +00:00
|
|
|
android:summary="@string/pref_use_tor_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_use_tor" />
|
2016-01-25 20:17:53 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/show_connection_options"
|
2016-01-25 20:17:53 +00:00
|
|
|
android:key="show_connection_options"
|
|
|
|
android:summary="@string/pref_show_connection_options_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
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">
|
2018-06-10 17:40:55 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/start_searching"
|
|
|
|
android:key="start_searching"
|
|
|
|
android:summary="@string/pref_start_search_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_start_search" />
|
2015-07-30 22:51:30 +00:00
|
|
|
<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"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_enter_is_send" />
|
2015-07-30 22:51:30 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/display_enter_key"
|
2015-07-30 22:51:30 +00:00
|
|
|
android:key="display_enter_key"
|
|
|
|
android:summary="@string/pref_display_enter_key_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_display_enter_key" />
|
2018-02-28 09:51:44 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="@bool/scroll_to_bottom"
|
|
|
|
android:key="scroll_to_bottom"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_scroll_to_bottom_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_scroll_to_bottom" />
|
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
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/manually_change_presence"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:disableDependentsState="true"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:key="manually_change_presence"
|
|
|
|
android:summary="@string/pref_manually_change_presence_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_manually_change_presence" />
|
2015-10-07 22:35:04 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/away_when_screen_off"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:dependency="manually_change_presence"
|
2015-10-07 22:35:04 +00:00
|
|
|
android:key="away_when_screen_off"
|
|
|
|
android:summary="@string/pref_away_when_screen_off_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_away_when_screen_off" />
|
2015-10-07 22:35:04 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-27 10:24:26 +00:00
|
|
|
android:defaultValue="@bool/dnd_on_silent_mode"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:dependency="manually_change_presence"
|
2017-06-27 10:24:26 +00:00
|
|
|
android:key="dnd_on_silent_mode"
|
|
|
|
android:summary="@string/pref_dnd_on_silent_mode_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_dnd_on_silent_mode" />
|
2016-03-01 18:00:18 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-27 10:24:26 +00:00
|
|
|
android:defaultValue="@bool/treat_vibrate_as_silent"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:dependency="dnd_on_silent_mode"
|
2016-03-01 18:00:18 +00:00
|
|
|
android:key="treat_vibrate_as_silent"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:summary="@string/pref_treat_vibrate_as_dnd_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_treat_vibrate_as_silent" />
|
2015-10-07 22:35:04 +00:00
|
|
|
</PreferenceCategory>
|
2018-09-05 19:37:05 +00:00
|
|
|
<PreferenceCategory
|
2019-11-02 08:43:37 +00:00
|
|
|
android:key="group_chats"
|
|
|
|
android:title="@string/group_chats_and_channels">
|
2016-02-01 12:54:08 +00:00
|
|
|
<CheckBoxPreference
|
2017-06-30 19:22:35 +00:00
|
|
|
android:defaultValue="@bool/autojoin"
|
2018-05-01 10:03:35 +00:00
|
|
|
android:key="autojoin"
|
2016-02-01 12:54:08 +00:00
|
|
|
android:summary="@string/pref_autojoin_summary"
|
2018-09-05 19:37:05 +00:00
|
|
|
android:title="@string/pref_autojoin" />
|
2019-11-02 08:43:37 +00:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/default_channel_discovery"
|
|
|
|
android:entries="@array/channel_discovery_entries"
|
|
|
|
android:entryValues="@array/channel_discover_values"
|
|
|
|
android:key="channel_discovery_method"
|
|
|
|
android:summary="@string/pref_channel_discovery_summary"
|
|
|
|
android:title="@string/pref_channel_discovery" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.VIEW"
|
|
|
|
android:targetClass="eu.siacs.conversations.ui.SettingsActivity"
|
|
|
|
android:targetPackage="@string/applicationId">
|
|
|
|
<extra
|
|
|
|
android:name="page"
|
|
|
|
android:value="expert" />
|
|
|
|
</intent>
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceScreen>
|
|
|
|
</PreferenceCategory>
|
2019-11-08 13:14:28 +00:00
|
|
|
<PreferenceCategory android:title="@string/category_about">
|
|
|
|
<eu.siacs.conversations.ui.AboutPreference />
|
|
|
|
</PreferenceCategory>
|
2014-10-22 16:38:44 +00:00
|
|
|
</PreferenceScreen>
|