2015-06-09 14:37:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-06-24 20:17:58 +00:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2015-06-09 14:37:20 +00:00
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
|
|
android:key="pref_key_recipient_mute"
|
|
|
|
android:title="@string/recipient_preferences__mute_conversation"
|
|
|
|
android:summary="@string/recipient_preferences__disable_notifications_for_this_conversation"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:disableDependentsState="true"
|
|
|
|
android:persistent="false" />
|
|
|
|
|
2015-06-25 18:59:36 +00:00
|
|
|
<org.thoughtcrime.securesms.preferences.AdvancedRingtonePreference
|
|
|
|
android:dependency="pref_key_recipient_mute"
|
2015-06-09 14:37:20 +00:00
|
|
|
android:key="pref_key_recipient_ringtone"
|
2015-10-28 19:44:57 +00:00
|
|
|
android:title="@string/recipient_preferences__notification_sound"
|
2015-06-09 14:37:20 +00:00
|
|
|
android:ringtoneType="notification"
|
2015-12-24 14:27:10 +00:00
|
|
|
android:showSilent="true"
|
2015-06-09 14:37:20 +00:00
|
|
|
android:showDefault="true"
|
|
|
|
android:persistent="false"/>
|
|
|
|
|
|
|
|
<ListPreference android:dependency="pref_key_recipient_mute"
|
|
|
|
android:key="pref_key_recipient_vibrate"
|
|
|
|
android:title="@string/recipient_preferences__vibrate"
|
|
|
|
android:entries="@array/recipient_vibrate_entries"
|
|
|
|
android:entryValues="@array/recipient_vibrate_values"
|
|
|
|
android:defaultValue="0"
|
|
|
|
android:persistent="false"/>
|
|
|
|
|
2015-06-24 20:17:58 +00:00
|
|
|
<org.thoughtcrime.securesms.preferences.ColorPreference
|
|
|
|
android:key="pref_key_recipient_color"
|
|
|
|
android:title="@string/recipient_preferences__color"
|
|
|
|
android:summary="@string/recipient_preferences__color_for_this_contact"
|
|
|
|
android:defaultValue="@android:color/black"
|
|
|
|
android:negativeButtonText="@null"
|
|
|
|
android:positiveButtonText="@null"
|
|
|
|
android:persistent="false"
|
|
|
|
app:numColumns="5" />
|
|
|
|
|
2015-09-29 21:26:37 +00:00
|
|
|
<Preference android:key="pref_key_recipient_identity"
|
2017-06-09 23:57:13 +00:00
|
|
|
android:title="@string/recipient_preferences__view_safety_number"
|
2016-08-25 01:51:45 +00:00
|
|
|
android:persistent="false"
|
|
|
|
android:enabled="false"/>
|
2015-06-24 20:17:58 +00:00
|
|
|
|
2015-06-09 14:37:20 +00:00
|
|
|
<Preference android:key="pref_key_recipient_block"
|
2015-09-29 21:26:37 +00:00
|
|
|
android:title="@string/recipient_preferences__block"
|
|
|
|
android:persistent="false"/>
|
2015-06-09 14:37:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
</PreferenceScreen>
|