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

31 lines
1.5 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:summary="@string/settings_notifications_header_summary"
app:layout="@layout/preference_category_material_edited">
<Preference
app:key="@string/pref_notifications_muted_until"
app:title="@string/settings_notifications_muted_until_title"/>
</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/pref_unified_push_enabled"
app:title="@string/settings_unified_push_enabled_title"
app:enabled="true"/>
<EditTextPreference
app:key="@string/pref_unified_push_base_url"
app:title="@string/settings_unified_push_base_url_title"
app:dependency="@string/pref_unified_push_enabled"/>
</PreferenceCategory>
<PreferenceCategory app:title="@string/settings_about_header">
<Preference
app:key="@string/pref_version"
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>