Signal-Android/app/src/main/res/xml/preferences_storage.xml

33 lines
1.2 KiB
XML
Raw Normal View History

2019-12-03 11:05:03 -05:00
<?xml version="1.0" encoding="utf-8"?>
2020-09-03 17:52:44 -04:00
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
2019-12-03 11:05:03 -05:00
<PreferenceCategory android:title="@string/preferences_storage__storage_usage" />
<org.thoughtcrime.securesms.preferences.widgets.StoragePreferenceCategory android:key="pref_storage_category" />
<PreferenceCategory android:layout="@layout/preference_divider" />
<PreferenceCategory
android:key="storage_limits"
2020-09-03 17:52:44 -04:00
android:title="@string/preferences_chats__message_history">
2019-12-03 11:05:03 -05:00
2020-09-03 17:52:44 -04:00
<Preference
android:key="settings.keep_messages_duration"
android:title="@string/preferences__keep_messages"
tools:summary="@string/preferences_storage__forever" />
2019-12-03 11:05:03 -05:00
2020-09-03 17:52:44 -04:00
<Preference
2019-12-03 11:05:03 -05:00
android:inputType="number"
android:key="pref_trim_length"
2020-09-03 17:52:44 -04:00
android:title="@string/preferences__conversation_length_limit"
tools:summary="None" />
2019-12-03 11:05:03 -05:00
<Preference
2020-09-03 17:52:44 -04:00
android:key="pref_storage_clear_message_history"
android:title="@string/preferences__clear_message_history" />
2019-12-03 11:05:03 -05:00
</PreferenceCategory>
</PreferenceScreen>