mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-02 06:33:38 +01:00
Refactor app settings.
This commit is contained in:
committed by
Greyson Parrelli
parent
a94d77d81e
commit
f2d5ea0391
@@ -1,60 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.ProfilePreference
|
||||
android:key="preference_category_profile"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.UsernamePreference
|
||||
app:isPreferenceVisible="false"
|
||||
android:key="preference_category_username"/>
|
||||
|
||||
<Preference android:key="preference_category_sms_mms"
|
||||
android:title="@string/preferences__sms_mms"
|
||||
android:icon="@drawable/ic_message_tinted_bitmap_24"/>
|
||||
|
||||
<Preference android:key="preference_category_notifications"
|
||||
android:title="@string/preferences__notifications"
|
||||
android:icon="@drawable/ic_bell_24"/>
|
||||
|
||||
<Preference android:key="preference_category_app_protection"
|
||||
android:title="@string/preferences__privacy"
|
||||
android:icon="@drawable/ic_lock_24"/>
|
||||
|
||||
<Preference android:key="preference_category_appearance"
|
||||
android:title="@string/preferences__appearance"
|
||||
android:icon="@drawable/ic_appearance_24"/>
|
||||
|
||||
<Preference android:key="preference_category_chats"
|
||||
android:title="@string/preferences_chats__chats"
|
||||
android:icon="@drawable/ic_photo_24"/>
|
||||
|
||||
<Preference android:key="preference_category_storage"
|
||||
android:title="@string/preferences__data_and_storage"
|
||||
android:icon="@drawable/ic_archive_24dp"/>
|
||||
|
||||
<Preference android:key="preference_category_devices"
|
||||
android:title="@string/preferences__linked_devices"
|
||||
android:icon="@drawable/ic_linked_devices_24"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.PaymentsPreference
|
||||
android:key="preference_category_payments"
|
||||
android:title="@string/preferences__payments"
|
||||
android:icon="@drawable/ic_payments_24"
|
||||
app:isPreferenceVisible="false" />
|
||||
|
||||
<Preference android:key="preference_category_help"
|
||||
android:title="@string/preferences__help"
|
||||
android:icon="@drawable/ic_help_24" />
|
||||
|
||||
<Preference android:key="preference_category_advanced"
|
||||
android:title="@string/preferences__advanced"
|
||||
android:icon="@drawable/ic_advanced_24"/>
|
||||
|
||||
<Preference android:key="preference_category_donate"
|
||||
android:title="@string/preferences__donate_to_signal"
|
||||
android:icon="@drawable/ic_heart_24"
|
||||
android:widgetLayout="@layout/donate_preference_widget" />
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_toggle_push_messaging"
|
||||
android:title="@string/preferences__signal_messages_and_calls"
|
||||
android:summary="@string/preferences__free_private_messages_and_calls"/>
|
||||
|
||||
<Preference
|
||||
android:key="pref_advanced_pin_settings"
|
||||
android:title="@string/preferences__advanced_pin_settings" />
|
||||
|
||||
<Preference
|
||||
android:key="pref_choose_identity"
|
||||
android:title="@string/preferences__choose_identity"
|
||||
android:summary="@string/preferences__choose_your_contact_entry_from_the_contacts_list"/>
|
||||
|
||||
<Preference android:key="pref_internal"
|
||||
android:title="@string/preferences__internal_preferences"
|
||||
app:isPreferenceVisible="false" />
|
||||
|
||||
<Preference
|
||||
android:key="pref_submit_debug_logs"
|
||||
android:title="@string/preferences__submit_debug_log"/>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<Preference
|
||||
android:layout="@layout/preference_danger"
|
||||
android:key="pref_delete_account"
|
||||
android:title="@string/preferences__delete_account" />
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,152 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="category_phone_number_privacy"
|
||||
android:title="@string/preferences_app_protection__who_can">
|
||||
|
||||
<Preference
|
||||
android:key="pref_who_can_see_phone_number"
|
||||
android:title="@string/preferences_app_protection__see_my_phone_number" />
|
||||
|
||||
<Preference
|
||||
android:key="pref_who_can_find_by_phone_number"
|
||||
android:title="@string/preferences_app_protection__find_me_by_phone_number" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_app_protection__app_access">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_android_screen_lock"
|
||||
android:summary="@string/preferences_app_protection__lock_signal_access_with_android_screen_lock_or_fingerprint"
|
||||
android:title="@string/preferences_app_protection__screen_lock" />
|
||||
|
||||
<Preference
|
||||
android:dependency="pref_android_screen_lock"
|
||||
android:key="pref_android_screen_lock_timeout"
|
||||
android:title="@string/preferences_app_protection__screen_lock_inactivity_timeout" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="pref_enable_passphrase_temporary"
|
||||
android:summary="@string/preferences__lock_signal_and_message_notifications_with_a_passphrase"
|
||||
android:title="@string/preferences__enable_passphrase" />
|
||||
|
||||
<Preference
|
||||
android:dependency="pref_enable_passphrase_temporary"
|
||||
android:key="pref_change_passphrase"
|
||||
android:summary="@string/preferences__change_your_passphrase"
|
||||
android:title="@string/preferences__change_passphrase" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:dependency="pref_enable_passphrase_temporary"
|
||||
android:key="pref_timeout_passphrase"
|
||||
android:summary="@string/preferences__auto_lock_signal_after_a_specified_time_interval_of_inactivity"
|
||||
android:title="@string/preferences__inactivity_timeout_passphrase" />
|
||||
|
||||
<Preference
|
||||
android:dependency="pref_timeout_passphrase"
|
||||
android:key="pref_timeout_interval"
|
||||
android:title="@string/preferences__inactivity_timeout_interval" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_screen_security"
|
||||
android:summary="@string/preferences__disable_screen_security_to_allow_screen_shots"
|
||||
android:title="@string/preferences__screen_security" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_incognito_keyboard"
|
||||
android:summary="@string/preferences__request_keyboard_to_disable_personalized_learning"
|
||||
android:title="@string/preferences__incognito_keyboard" />
|
||||
|
||||
<Preference
|
||||
android:key="pref_incognito_learn_more"
|
||||
android:layout="@layout/incognito_learn_more" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider" />
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_app_protection__communication">
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_turn_only"
|
||||
android:summary="@string/preferences_advanced__relay_all_calls_through_the_signal_server_to_avoid_revealing_your_ip_address"
|
||||
android:title="@string/preferences_advanced__always_relay_calls" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_read_receipts"
|
||||
android:summary="@string/preferences__if_read_receipts_are_disabled_you_wont_be_able_to_see_read_receipts"
|
||||
android:title="@string/preferences__read_receipts" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="pref_typing_indicators"
|
||||
android:summary="@string/preferences__if_typing_indicators_are_disabled_you_wont_be_able_to_see_typing_indicators"
|
||||
android:title="@string/preferences__typing_indicators" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="settings.link_previews"
|
||||
android:summary="@string/preferences__retrieve_link_previews_from_websites_for_messages"
|
||||
android:title="@string/preferences__generate_link_previews" />
|
||||
|
||||
<Preference
|
||||
android:key="preference_category_blocked"
|
||||
android:title="@string/preferences_app_protection__blocked_users" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider" />
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_communication__category_sealed_sender">
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_show_unidentifed_delivery_indicators"
|
||||
android:summary="@string/preferences_communication__sealed_sender_display_indicators_description"
|
||||
android:title="@string/preferences_communication__sealed_sender_display_indicators" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_universal_unidentified_access"
|
||||
android:summary="@string/preferences_communication__sealed_sender_allow_from_anyone_description"
|
||||
android:title="@string/preferences_communication__sealed_sender_allow_from_anyone" />
|
||||
|
||||
<Preference
|
||||
android:key="pref_unidentified_learn_more"
|
||||
android:layout="@layout/unidentified_delivery_learn_more" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="prefs_signal_pin"
|
||||
android:title="@string/preferences_app_protection__signal_pin">
|
||||
|
||||
<Preference
|
||||
android:key="pref_kbs_change"
|
||||
android:summary="@string/preferences_app_protection__pins_keep_information_stored_with_signal_encrypted"
|
||||
android:title="@string/preferences_app_protection__change_your_pin" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:key="pin.pin_reminders_enabled"
|
||||
android:summary="@string/preferences_app_protection__reminders_help_you_remember_your_pin"
|
||||
android:title="@string/preferences_app_protection__pin_reminders" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:enabled="false"
|
||||
android:key="kbs.v2_lock_enabled"
|
||||
android:summary="@string/preferences_app_protection__add_extra_security_by_requiring_your_signal_pin_to_register"
|
||||
android:title="@string/preferences_app_protection__registration_lock" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_theme"
|
||||
android:title="@string/preferences__theme"
|
||||
android:entries="@array/pref_theme_entries"
|
||||
android:entryValues="@array/pref_theme_values"
|
||||
android:defaultValue="light">
|
||||
</org.thoughtcrime.securesms.preferences.widgets.SignalListPreference>
|
||||
|
||||
<Preference android:title="@string/preferences__chat_wallpaper"
|
||||
android:key="pref_wallpaper" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_language"
|
||||
android:title="@string/preferences__language"
|
||||
android:entries="@array/language_entries"
|
||||
android:entryValues="@array/language_values"
|
||||
android:defaultValue="zz"/>
|
||||
</PreferenceScreen>
|
||||
@@ -1,57 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_chats__chats">
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_message_body_text_size"
|
||||
android:title="@string/preferences_chats__message_text_size"
|
||||
android:entries="@array/pref_message_font_size_entries"
|
||||
android:entryValues="@array/pref_message_font_size_values"
|
||||
android:defaultValue="16">
|
||||
</org.thoughtcrime.securesms.preferences.widgets.SignalListPreference>
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="pref_show_invite_reminder"
|
||||
android:title="@string/preferences_chats__show_invitation_prompts"
|
||||
android:summary="@string/preferences_chats__display_invitation_prompts_for_contacts_without_signal" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_system_emoji"
|
||||
android:title="@string/preferences_advanced__use_system_emoji"
|
||||
android:summary="@string/preferences_advanced__disable_signal_built_in_emoji_support" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_enter_sends"
|
||||
android:summary="@string/preferences__pressing_the_enter_key_will_send_text_messages"
|
||||
android:title="@string/preferences__pref_enter_sends_title"/>
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_system_contact_photos"
|
||||
android:summary="@string/preferences__display_contact_photos_from_your_address_book_if_available"
|
||||
android:title="@string/preferences__pref_use_address_book_photos"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory android:key="backup_category" android:title="@string/preferences_chats__backups">
|
||||
<androidx.preference.Preference
|
||||
android:key="pref_backup"
|
||||
android:summary="@string/preferences_chats__backup_chats_to_external_storage"
|
||||
android:persistent="false"
|
||||
android:title="@string/preferences_chats__chat_backups" />
|
||||
|
||||
<androidx.preference.Preference
|
||||
android:key="pref_transfer"
|
||||
android:summary="@string/preferences_chats__transfer_account_to_a_new_android_device"
|
||||
android:persistent="false"
|
||||
android:title="@string/preferences_chats__transfer_account" />
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,58 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<Preference android:title="@string/preferences_data_and_storage__manage_storage"
|
||||
android:key="pref_data_manage" />
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory android:key="media_download" android:title="@string/preferences_chats__media_auto_download">
|
||||
<MultiSelectListPreference
|
||||
android:title="@string/preferences_chats__when_using_mobile_data"
|
||||
android:key="pref_media_download_mobile"
|
||||
android:defaultValue="@array/pref_media_download_mobile_data_default"
|
||||
android:persistent="true"
|
||||
android:entries="@array/pref_media_download_values"
|
||||
android:entryValues="@array/pref_media_download_entries" />
|
||||
|
||||
<MultiSelectListPreference
|
||||
android:title="@string/preferences_chats__when_using_wifi"
|
||||
android:key="pref_media_download_wifi"
|
||||
android:defaultValue="@array/pref_media_download_wifi_default"
|
||||
android:persistent="true"
|
||||
android:entries="@array/pref_media_download_values"
|
||||
android:entryValues="@array/pref_media_download_entries" />
|
||||
|
||||
<MultiSelectListPreference
|
||||
android:title="@string/preferences_chats__when_roaming"
|
||||
android:key="pref_media_download_roaming"
|
||||
android:defaultValue="@array/pref_media_download_roaming_default"
|
||||
android:persistent="true"
|
||||
android:entries="@array/pref_media_download_values"
|
||||
android:entryValues="@array/pref_media_download_entries" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_data_and_storage__calls">
|
||||
<ListPreference
|
||||
android:title="@string/preferences_data_and_storage__use_less_data_for_calls"
|
||||
android:key="pref_data_call_bandwidth"
|
||||
android:defaultValue="@string/preferences_data_and_storage__never"
|
||||
android:persistent="true"
|
||||
android:entries="@array/pref_data_and_storage_call_bandwidth_values"
|
||||
android:entryValues="@array/pref_data_and_storage_call_bandwidth_values" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<Preference android:layout="@layout/preference_data_and_storage_call_bandwidth_notice" />
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/preferences_proxy">
|
||||
|
||||
<Preference
|
||||
android:title="@string/preferences_use_proxy"
|
||||
android:key="pref_use_proxy" />
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
@@ -1,136 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="internal_payments"
|
||||
android:title="@string/preferences__internal_payments">
|
||||
|
||||
<Preference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_copy_payments_data"
|
||||
android:summary="@string/preferences__internal_payment_copy_data_description"
|
||||
android:title="@string/preferences__internal_payment_copy_data" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="internal_account"
|
||||
android:title="@string/preferences__internal_account">
|
||||
|
||||
<Preference
|
||||
android:key="pref_refresh_attributes"
|
||||
android:summary="@string/preferences__internal_refresh_attributes_description"
|
||||
android:title="@string/preferences__internal_refresh_attributes" />
|
||||
|
||||
<Preference
|
||||
android:key="pref_rotate_profile_key"
|
||||
android:summary="@string/preferences__internal_rotate_profile_key_description"
|
||||
android:title="@string/preferences__internal_rotate_profile_key" />
|
||||
|
||||
<Preference
|
||||
android:key="pref_refresh_remote_values"
|
||||
android:summary="@string/preferences__internal_refresh_remote_values_description"
|
||||
android:title="@string/preferences__internal_refresh_remote_values" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="internal_display"
|
||||
android:title="@string/preferences__internal_display">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.recipient_details"
|
||||
android:summary="@string/preferences__internal_user_details_description"
|
||||
android:title="@string/preferences__internal_user_details" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="internal_storage"
|
||||
android:title="@string/preferences__internal_storage_service">
|
||||
|
||||
<Preference
|
||||
android:key="pref_force_send"
|
||||
android:summary="@string/preferences__internal_force_storage_service_sync_description"
|
||||
android:title="@string/preferences__internal_force_storage_service_sync" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="internal_groupsV2"
|
||||
android:title="@string/preferences__internal_preferences_groups_v2">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.gv2.do_not_create_gv2"
|
||||
android:summary="@string/preferences__internal_do_not_create_gv2_description"
|
||||
android:title="@string/preferences__internal_do_not_create_gv2" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.gv2.force_invites"
|
||||
android:summary="@string/preferences__internal_force_gv2_invites_description"
|
||||
android:title="@string/preferences__internal_force_gv2_invites" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.gv2.ignore_server_changes"
|
||||
android:summary="@string/preferences__internal_ignore_gv2_server_changes_description"
|
||||
android:title="@string/preferences__internal_ignore_gv2_server_changes" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.gv2.ignore_p2p_changes"
|
||||
android:summary="@string/preferences__internal_ignore_gv2_p2p_changes_description"
|
||||
android:title="@string/preferences__internal_ignore_gv2_p2p_changes" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="internal_groupsV1Migration"
|
||||
android:title="@string/preferences__internal_preferences_groups_v1_migration">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.gv2.disable_automigrate_initiation"
|
||||
android:summary="@string/preferences__internal_do_not_initiate_automigrate_description"
|
||||
android:title="@string/preferences__internal_do_not_initiate_automigrate" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.gv2.disable_automigrate_notification"
|
||||
android:summary="@string/preferences__internal_do_not_notify_automigrate_description"
|
||||
android:title="@string/preferences__internal_do_not_notify_automigrate" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences__internal_network">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.force_censorship"
|
||||
android:summary="@string/preferences__internal_force_censorship_description"
|
||||
android:title="@string/preferences__internal_force_censorship" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences__internal_conversations_and_shortcuts">
|
||||
|
||||
<Preference
|
||||
android:key="pref_delete_dynamic_shortcuts"
|
||||
android:summary="@string/preferences__internal_click_to_delete_all_dynamic_shortcuts"
|
||||
android:title="@string/preferences__internal_delete_all_dynamic_shortcuts" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences__internal_emoji">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.force_built_in_emoji"
|
||||
android:title="@string/preferences__internal_use_built_in_emoji_set" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,105 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_notifications__messages">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:key="pref_key_enable_notifications"
|
||||
android:title="@string/preferences__notifications"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalPreference
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:key="pref_key_ringtone"
|
||||
android:title="@string/preferences__sound"
|
||||
android:persistent="false"
|
||||
android:defaultValue="content://settings/system/notification_sound" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:key="pref_key_vibrate"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/preferences__vibrate"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.LEDColorListPreference
|
||||
android:key="pref_led_color"
|
||||
android:defaultValue="blue"
|
||||
android:title="@string/preferences__led_color"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:entries="@array/pref_led_color_entries"
|
||||
android:entryValues="@array/pref_led_color_values" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_led_blink"
|
||||
android:defaultValue="500,2000"
|
||||
android:title="@string/preferences__pref_led_blink_title"
|
||||
android:dependency="pref_led_color"
|
||||
android:entries="@array/pref_led_blink_pattern_entries"
|
||||
android:entryValues="@array/pref_led_blink_pattern_values" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:key="pref_key_inthread_notifications"
|
||||
android:title="@string/preferences_notifications__in_chat_sounds"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_repeat_alerts"
|
||||
android:defaultValue="0"
|
||||
android:title="@string/preferences__repeat_alerts"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:entries="@array/pref_repeat_alerts_entries"
|
||||
android:entryValues="@array/pref_repeat_alerts_values" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_notification_privacy"
|
||||
android:title="@string/preferences_notifications__show"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:defaultValue="all"
|
||||
android:entries="@array/pref_notification_privacy_entries"
|
||||
android:entryValues="@array/pref_notification_privacy_values"/>
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
||||
android:key="pref_notification_priority"
|
||||
android:title="@string/preferences_notifications__priority"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:defaultValue="1"
|
||||
android:entries="@array/pref_notification_priority_entries"
|
||||
android:entryValues="@array/pref_notification_priority_values"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_notifications__calls">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:key="pref_call_notifications"
|
||||
android:title="@string/preferences__notifications"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<org.thoughtcrime.securesms.preferences.widgets.SignalPreference
|
||||
android:dependency="pref_call_notifications"
|
||||
android:key="pref_call_ringtone"
|
||||
android:title="@string/preferences_notifications__ringtone"
|
||||
android:persistent="false"
|
||||
android:defaultValue="content://settings/system/ringtone" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:dependency="pref_call_notifications"
|
||||
android:key="pref_call_vibrate"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/preferences__vibrate"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_notifications__events">
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:key="pref_enable_new_contacts_notifications"
|
||||
android:title="@string/preferences_events__contact_joined_signal"
|
||||
android:defaultValue="true" />
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="pref_all_sms"
|
||||
android:summary="@string/preferences__use_signal_for_viewing_and_storing_all_incoming_text_messages"
|
||||
android:title="@string/preferences__pref_all_sms_title" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="pref_all_mms"
|
||||
android:summary="@string/preferences__use_signal_for_viewing_and_storing_all_incoming_multimedia_messages"
|
||||
android:title="@string/preferences__pref_all_mms_title" />
|
||||
|
||||
<Preference android:key="pref_set_default"
|
||||
android:title="@string/ApplicationPreferencesActivity_sms_disabled"
|
||||
android:summary="@string/ApplicationPreferencesActivity_touch_to_make_signal_your_default_sms_app" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_delivery_report_sms"
|
||||
android:summary="@string/preferences__request_a_delivery_report_for_each_sms_message_you_send"
|
||||
android:title="@string/preferences__sms_delivery_reports" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_wifi_sms"
|
||||
android:title="@string/preferences__support_wifi_calling"
|
||||
android:summary="@string/preferences__enable_if_your_device_supports_sms_mms_delivery_over_wifi"/>
|
||||
|
||||
<Preference android:key="pref_mms_preferences"
|
||||
android:title="@string/preferences__advanced_mms_access_point_names"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user