mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
49 lines
2.6 KiB
XML
49 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<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="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"/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
|
|
|
<PreferenceCategory android:key="message_trimming" android:title="@string/preferences_chats__message_trimming">
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
android:defaultValue="false"
|
|
android:key="pref_trim_threads"
|
|
android:summary="@string/preferences__automatically_delete_older_messages_once_a_conversation_exceeds_a_specified_length"
|
|
android:title="@string/preferences__delete_old_messages" />
|
|
|
|
<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" />
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|