e-ntfy-android/app/src/main/res/xml/main_preferences.xml

52 lines
2.7 KiB
XML
Raw Normal View History

2021-12-31 01:34:25 +01:00
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
2022-01-01 13:42:00 +01:00
xmlns:android="http://schemas.android.com/apk/res/android"
2021-12-31 01:34:25 +01:00
app:title="@string/settings_title">
2022-01-01 13:42:00 +01:00
<PreferenceCategory
app:title="@string/settings_notifications_header"
app:layout="@layout/preference_category_material_edited">
<Preference
app:key="@string/settings_notifications_muted_until_key"
2022-01-01 13:42:00 +01:00
app:title="@string/settings_notifications_muted_until_title"/>
<ListPreference
app:key="@string/settings_notifications_min_priority_key"
app:title="@string/settings_notifications_min_priority_title"
app:entries="@array/settings_notifications_min_priority_entries"
app:entryValues="@array/settings_notifications_min_priority_values"
app:defaultValue="1"/>
2022-01-12 01:37:34 +01:00
<ListPreference
app:key="@string/settings_notifications_auto_download_key"
app:title="@string/settings_notifications_auto_download_title"
2022-01-12 01:37:34 +01:00
app:entries="@array/settings_notifications_auto_download_entries"
app:entryValues="@array/settings_notifications_auto_download_values"
app:defaultValue="1"/>
2022-01-01 13:42:00 +01:00
</PreferenceCategory>
2021-12-31 01:34:25 +01:00
<PreferenceCategory
app:title="@string/settings_unified_push_header"
app:summary="@string/settings_unified_push_header_summary"
app:layout="@layout/preference_category_material_edited">
<SwitchPreference
app:key="@string/settings_unified_push_enabled_key"
2021-12-31 01:34:25 +01:00
app:title="@string/settings_unified_push_enabled_title"
app:enabled="true"/>
<EditTextPreference
app:key="@string/settings_unified_push_base_url_key"
2021-12-31 01:34:25 +01:00
app:title="@string/settings_unified_push_base_url_title"
app:dependency="@string/settings_unified_push_enabled_key"/>
</PreferenceCategory>
<PreferenceCategory app:title="@string/settings_advanced_header">
2022-01-11 23:12:32 +01:00
<SwitchPreference
app:key="@string/settings_advanced_wakelock_key"
app:title="@string/settings_advanced_wakelock_title"
app:enabled="true"/>
<SwitchPreference
app:key="@string/settings_advanced_broadcast_key"
app:title="@string/settings_advanced_broadcast_title"
app:enabled="true"/>
2021-12-31 01:34:25 +01:00
</PreferenceCategory>
<PreferenceCategory app:title="@string/settings_about_header">
<Preference
app:key="@string/settings_about_version_key"
2022-01-01 13:42:00 +01:00
app:title="@string/settings_about_version_title"/>
2021-12-31 01:34:25 +01:00
</PreferenceCategory>
</PreferenceScreen>