mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
beb601bc06
* add download-ffi methods * add 'Download' button for incomplete messages * show 'downloading' animation * make download_limit configurable * set button to 'disabled' and text to 'Downloading...' on downloading; color does not really reflect that yet, but that can probably be tweaked by xml * make 'download message body' translatable
63 lines
2.4 KiB
XML
63 lines
2.4 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">
|
|
|
|
<ListPreference
|
|
android:key="pref_show_emails"
|
|
android:title="@string/pref_show_emails"
|
|
android:dependency="pref_show_emails"
|
|
android:entries="@array/pref_show_emails_entries"
|
|
android:entryValues="@array/pref_show_emails_values" />
|
|
|
|
<Preference
|
|
android:key="preference_category_blocked"
|
|
android:title="@string/pref_blocked_contacts" />
|
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
android:defaultValue="false"
|
|
android:key="pref_read_receipts"
|
|
android:summary="@string/pref_read_receipts_explain"
|
|
android:title="@string/pref_read_receipts" />
|
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
android:defaultValue="false"
|
|
android:key="pref_enter_sends"
|
|
android:summary="@string/pref_enter_sends_explain"
|
|
android:title="@string/pref_enter_sends"/>
|
|
|
|
<ListPreference
|
|
android:key="pref_compression"
|
|
android:title="@string/pref_outgoing_media_quality"
|
|
android:dependency="pref_compression"
|
|
android:entries="@array/pref_compression_entries"
|
|
android:entryValues="@array/pref_compression_values"
|
|
android:defaultValue="0" />
|
|
|
|
<ListPreference
|
|
android:key="auto_download"
|
|
android:title="@string/auto_download_messages"
|
|
android:entries="@array/pref_download_limit_entries"
|
|
android:entryValues="@array/pref_download_limit_values"/>
|
|
|
|
<PreferenceCategory android:title="@string/delete_old_messages">
|
|
<ListPreference
|
|
android:key="autodel_device"
|
|
android:title="@string/autodel_device_title"
|
|
android:entries="@array/autodel_device_durations"
|
|
android:entryValues="@array/autodel_device_values"/>
|
|
|
|
<ListPreference
|
|
android:key="autodel_server"
|
|
android:title="@string/autodel_server_title"
|
|
android:entries="@array/autodel_server_durations"
|
|
android:entryValues="@array/autodel_server_values" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_backup">
|
|
<Preference android:key="pref_backup"
|
|
android:title="@string/pref_backup_explain"/>
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|