2015-08-24 15:24:31 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2020-01-09 14:15:43 +11:00
|
|
|
<PreferenceScreen
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
2019-07-16 17:09:15 +10:00
|
|
|
<!-- <PreferenceCategory android:key="media_download" android:title="@string/preferences_chats__media_auto_download">
|
2020-01-09 14:15:43 +11:00
|
|
|
|
2017-10-03 10:24:45 -07:00
|
|
|
<MultiSelectListPreference
|
2020-01-09 14:15:43 +11:00
|
|
|
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" />
|
2015-08-24 15:24:31 -07:00
|
|
|
|
2017-10-03 10:24:45 -07:00
|
|
|
<MultiSelectListPreference
|
2020-01-09 14:15:43 +11:00
|
|
|
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" />
|
2015-08-24 15:24:31 -07:00
|
|
|
|
2017-10-03 10:24:45 -07:00
|
|
|
<MultiSelectListPreference
|
2020-01-09 14:15:43 +11:00
|
|
|
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" />
|
|
|
|
|
2015-08-24 15:24:31 -07:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2019-07-16 17:09:15 +10:00
|
|
|
<PreferenceCategory android:layout="@layout/preference_divider"/> -->
|
2017-04-14 20:39:38 -07:00
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/preferences_chats__chats">
|
2020-01-09 14:15:43 +11:00
|
|
|
|
|
|
|
<!-- <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" /> -->
|
2017-04-14 22:59:30 -07:00
|
|
|
|
2019-07-16 17:09:15 +10:00
|
|
|
<!-- <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
2020-01-09 14:15:43 +11:00
|
|
|
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" /> -->
|
2017-04-14 20:51:22 -07:00
|
|
|
|
2017-04-14 20:39:38 -07:00
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
2020-01-09 14:15:43 +11:00
|
|
|
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" />
|
2017-04-14 20:39:38 -07:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
2020-01-09 14:15:43 +11:00
|
|
|
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" />
|
2019-01-15 00:41:05 -08:00
|
|
|
|
2017-04-14 20:39:38 -07:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
|
|
|
|
2015-09-04 12:11:06 -07:00
|
|
|
<PreferenceCategory android:key="message_trimming" android:title="@string/preferences_chats__message_trimming">
|
2020-01-09 14:15:43 +11:00
|
|
|
|
2015-08-24 15:24:31 -07:00
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="pref_trim_threads"
|
2015-11-28 17:02:10 +01:00
|
|
|
android:summary="@string/preferences__automatically_delete_older_messages_once_a_conversation_exceeds_a_specified_length"
|
2015-08-24 15:24:31 -07:00
|
|
|
android:title="@string/preferences__delete_old_messages" />
|
|
|
|
|
2020-01-09 14:15:43 +11:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="500"
|
|
|
|
android:key="pref_trim_length"
|
|
|
|
android:title="@string/preferences__conversation_length_limit"
|
|
|
|
android:inputType="number"
|
|
|
|
android:dependency="pref_trim_threads" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="pref_trim_now"
|
|
|
|
android:title="@string/preferences__trim_all_conversations_now"
|
|
|
|
android:summary="@string/preferences__scan_through_all_conversations_and_enforce_conversation_length_limits"
|
|
|
|
android:dependency="pref_trim_threads" />
|
2015-08-24 15:24:31 -07:00
|
|
|
|
|
|
|
</PreferenceCategory>
|
2018-02-26 09:58:18 -08:00
|
|
|
|
2020-01-09 14:15:43 +11:00
|
|
|
<PreferenceCategory android:layout="@layout/preference_divider" />
|
2018-02-26 09:58:18 -08:00
|
|
|
|
2018-03-07 12:13:58 -08:00
|
|
|
<PreferenceCategory android:key="backup_category" android:title="@string/preferences_chats__backups">
|
2020-01-09 14:15:43 +11:00
|
|
|
|
2018-02-26 09:58:18 -08:00
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
2020-01-09 14:15:43 +11:00
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="pref_backup_enabled"
|
|
|
|
android:title="@string/preferences_chats__chat_backups"
|
|
|
|
android:summary="@string/preferences_chats__backup_chats_to_external_storage" />
|
2018-02-26 09:58:18 -08:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.ProgressPreference
|
2020-01-09 14:15:43 +11:00
|
|
|
android:key="pref_backup_create"
|
|
|
|
android:title="@string/preferences_chats__create_backup"
|
|
|
|
android:persistent="false"
|
|
|
|
android:dependency="pref_backup_enabled"
|
|
|
|
tools:summary="Last backup: 3 days ago" />
|
2018-02-26 09:58:18 -08:00
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2015-08-24 15:24:31 -07:00
|
|
|
</PreferenceScreen>
|