mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
50 lines
No EOL
2.1 KiB
XML
50 lines
No EOL
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory android:title="@string/preferences_notifications_strategy_category_title">
|
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
android:key="pref_key_use_fcm"
|
|
android:title="@string/preferences_notifications_strategy_category_fast_mode_title"
|
|
android:summary="@string/preferences_notifications_strategy_category_fast_mode_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<Preference android:title="@string/go_to_device_notification_settings"
|
|
android:key="pref_notification_priority" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/activity_notification_settings_style_section_title">
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.SignalPreference
|
|
android:key="pref_key_ringtone"
|
|
android:title="@string/preferences__sound"
|
|
android:persistent="false"
|
|
android:defaultValue="content://settings/system/notification_sound" />
|
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
android:key="pref_sound_when_app_open"
|
|
android:defaultValue="false"
|
|
android:title="@string/preferences__in_app_sounds"
|
|
/>
|
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
android:key="pref_key_vibrate"
|
|
android:defaultValue="true"
|
|
android:title="@string/preferences__vibrate" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/activity_notification_settings_content_section_title">
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.SignalListPreference
|
|
android:key="pref_notification_privacy"
|
|
android:title="@string/preferences_notifications__content"
|
|
android:defaultValue="all"
|
|
android:entries="@array/pref_notification_privacy_entries"
|
|
android:entryValues="@array/pref_notification_privacy_values" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |