summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2023-02-25 16:30:58 +0100
committerGitHub <noreply@github.com>2023-02-25 16:30:58 +0100
commit3e077e5653d1c1be266d2bb5add85902c93e616e (patch)
tree72035f4808f39f390c153fa4755f67fb91a4d0f5 /ui
parent34553475d9a28f7eba1b0570370ab3370ce87fc0 (diff)
downloadAntennaPod-3e077e5653d1c1be266d2bb5add85902c93e616e.zip
Add cancel action to download notification (#6353)
Diffstat (limited to 'ui')
-rw-r--r--ui/app-start-intent/src/main/res/values/pending_intent.xml1
-rw-r--r--ui/png-icons/src/main/res/drawable/ic_notification_cancel.xml5
2 files changed, 6 insertions, 0 deletions
diff --git a/ui/app-start-intent/src/main/res/values/pending_intent.xml b/ui/app-start-intent/src/main/res/values/pending_intent.xml
index c0864046c..30b35d926 100644
--- a/ui/app-start-intent/src/main/res/values/pending_intent.xml
+++ b/ui/app-start-intent/src/main/res/values/pending_intent.xml
@@ -2,6 +2,7 @@
<resources>
<item name="pending_intent_download_service_notification" type="id"/>
<item name="pending_intent_download_service_retry" type="id"/>
+ <item name="pending_intent_download_cancel_all" type="id"/>
<item name="pending_intent_download_service_auth" type="id"/>
<item name="pending_intent_download_service_report" type="id"/>
<item name="pending_intent_download_service_autodownload_report" type="id"/>
diff --git a/ui/png-icons/src/main/res/drawable/ic_notification_cancel.xml b/ui/png-icons/src/main/res/drawable/ic_notification_cancel.xml
new file mode 100644
index 000000000..a5480c71f
--- /dev/null
+++ b/ui/png-icons/src/main/res/drawable/ic_notification_cancel.xml
@@ -0,0 +1,5 @@
+<vector android:height="24dp"
+ android:viewportHeight="24.0" android:viewportWidth="24.0"
+ android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
+ <path android:fillColor="#FFFFFFFF" android:pathData="M12,2C6.47,2 2,6.47 2,12s4.47,10 10,10 10,-4.47 10,-10S17.53,2 12,2zM17,15.59L15.59,17 12,13.41 8.41,17 7,15.59 10.59,12 7,8.41 8.41,7 12,10.59 15.59,7 17,8.41 13.41,12 17,15.59z"/>
+</vector>