2015-06-09 07:37:20 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-06-24 13:17:58 -07:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2017-08-22 14:00:09 -07:00
|
|
|
|
2018-04-03 02:28:26 -07:00
|
|
|
<PreferenceCategory android:key="about" android:title="@string/recipient_preferences__about">
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.ContactPreference android:key="pref_key_number" android:persistent="false"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2018-04-19 10:53:37 -07:00
|
|
|
<PreferenceCategory android:key="about_divider" android:layout="@layout/preference_divider"/>
|
2018-04-03 02:28:26 -07:00
|
|
|
|
2017-09-20 18:14:28 -07:00
|
|
|
<PreferenceCategory android:key="notification_settings" android:title="@string/recipient_preferences__chat_settings">
|
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
|
|
android:key="pref_key_recipient_mute"
|
|
|
|
android:title="@string/recipient_preferences__mute_conversation"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:disableDependentsState="true"
|
|
|
|
android:persistent="false" />
|
|
|
|
|
2018-08-16 09:47:43 -07:00
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
|
|
android:key="pref_key_recipient_custom_notifications"
|
|
|
|
android:title="@string/recipient_preferences__custom_notifications"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="false" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.SignalPreference
|
|
|
|
android:key="pref_key_recipient_notification_settings"
|
|
|
|
android:dependency="pref_key_recipient_custom_notifications"
|
|
|
|
android:title="@string/recipient_preferences__custom_notifications_settings"
|
|
|
|
android:persistent="false" />
|
|
|
|
|
2017-12-01 12:55:24 -08:00
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.SignalPreference
|
2017-09-20 18:14:28 -07:00
|
|
|
android:dependency="pref_key_recipient_mute"
|
|
|
|
android:key="pref_key_recipient_ringtone"
|
|
|
|
android:title="@string/recipient_preferences__notification_sound"
|
|
|
|
android:persistent="false"/>
|
|
|
|
|
2017-09-21 10:03:05 -07:00
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
2017-09-20 18:14:28 -07:00
|
|
|
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"/>
|
|
|
|
|
2017-09-21 10:03:05 -07:00
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.ColorPickerPreference
|
2017-09-20 18:14:28 -07:00
|
|
|
android:key="pref_key_recipient_color"
|
|
|
|
android:title="@string/recipient_preferences__color"
|
|
|
|
android:defaultValue="@android:color/black"
|
|
|
|
android:negativeButtonText="@null"
|
|
|
|
android:positiveButtonText="@null"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:persistent="false"
|
2017-09-20 18:14:28 -07:00
|
|
|
app:numColumns="5" />
|
|
|
|
</PreferenceCategory>
|
2015-06-24 13:17:58 -07:00
|
|
|
|
2018-02-16 11:10:35 -08:00
|
|
|
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
|
|
|
|
2018-04-19 10:53:37 -07:00
|
|
|
<PreferenceCategory android:key="call_settings" android:title="@string/recipient_preferences__call_settings">
|
2018-02-16 11:10:35 -08:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.SignalPreference
|
|
|
|
android:key="pref_key_recipient_call_ringtone"
|
|
|
|
android:title="@string/recipient_preferences__ringtone"
|
|
|
|
android:persistent="false"/>
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
|
|
|
android:key="pref_key_recipient_call_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"/>
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2017-10-03 17:05:52 -07:00
|
|
|
<PreferenceCategory android:key="divider" android:layout="@layout/preference_divider"/>
|
2017-09-20 18:14:28 -07:00
|
|
|
|
|
|
|
<PreferenceCategory android:key="privacy_settings" android:title="@string/recipient_preferences__privacy">
|
|
|
|
|
|
|
|
<Preference android:key="pref_key_recipient_identity"
|
|
|
|
android:title="@string/recipient_preferences__view_safety_number"
|
|
|
|
android:persistent="false"
|
|
|
|
android:enabled="false"/>
|
|
|
|
|
|
|
|
<Preference android:key="pref_key_recipient_block"
|
|
|
|
android:title="@string/recipient_preferences__block"
|
|
|
|
android:persistent="false"/>
|
2015-06-09 07:37:20 -07:00
|
|
|
|
2017-09-20 18:14:28 -07:00
|
|
|
</PreferenceCategory>
|
2015-06-09 07:37:20 -07:00
|
|
|
|
|
|
|
</PreferenceScreen>
|