summaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/preferences_notifications.xml
diff options
context:
space:
mode:
authorchrk2205 <44704035+chrk2205@users.noreply.github.com>2020-10-21 00:34:03 +0530
committerGitHub <noreply@github.com>2020-10-20 21:04:03 +0200
commit6098058a32b18aada45e16e922983464504ddc28 (patch)
treecce6e753d18db81265a7a7a1675403ee891275a5 /app/src/main/res/xml/preferences_notifications.xml
parent971df75a25f439d81566a0220f95acb4c667a2bb (diff)
downloadAntennaPod-6098058a32b18aada45e16e922983464504ddc28.zip
Move notification settings to their own screen (#4526)
added a new fragment named "notification manager" replaced all settings related into this fragment
Diffstat (limited to 'app/src/main/res/xml/preferences_notifications.xml')
-rw-r--r--app/src/main/res/xml/preferences_notifications.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences_notifications.xml b/app/src/main/res/xml/preferences_notifications.xml
new file mode 100644
index 000000000..3aa907ca8
--- /dev/null
+++ b/app/src/main/res/xml/preferences_notifications.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefShowDownloadReport"
+ android:summary="@string/pref_showDownloadReport_sum"
+ android:title="@string/pref_showDownloadReport_title" />
+ <SwitchPreferenceCompat
+ android:defaultValue="false"
+ android:enabled="true"
+ android:key="prefShowAutoDownloadReport"
+ android:summary="@string/pref_showAutoDownloadReport_sum"
+ android:title="@string/pref_showAutoDownloadReport_title" />
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:key="pref_gpodnet_notifications"
+ android:summary="@string/pref_gpodnet_notifications_sum"
+ android:title="@string/pref_gpodnet_notifications_title" />
+</PreferenceScreen> \ No newline at end of file