From eb3993f776da330741ef9ef6522a5b20bd45f20b Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 20 Sep 2020 23:13:28 +0200 Subject: New notification icon --- app/src/main/AndroidManifest.xml | 2 +- app/src/main/res/layout/feeditemlist_header.xml | 2 +- app/src/main/res/layout/gpodnet_podcast_listitem.xml | 2 +- app/src/main/res/layout/itunes_podcast_listitem.xml | 2 +- app/src/main/res/layout/onlinefeedview_activity.xml | 2 +- app/src/main/res/layout/searchlist_item.xml | 2 +- app/src/main/res/layout/statistics_listitem.xml | 2 +- .../playback/PlaybackServiceNotificationBuilder.java | 4 ++-- core/src/main/res/drawable-hdpi/ic_notification.png | Bin 0 -> 1016 bytes core/src/main/res/drawable-mdpi/ic_notification.png | Bin 0 -> 618 bytes core/src/main/res/drawable-xhdpi/ic_notification.png | Bin 0 -> 1441 bytes core/src/main/res/drawable-xxhdpi/ic_notification.png | Bin 0 -> 2390 bytes core/src/main/res/drawable-xxxhdpi/ic_notification.png | Bin 0 -> 3121 bytes core/src/main/res/drawable/ic_antenna.xml | 6 ------ .../res/drawable/notification_default_large_icon.xml | 15 --------------- core/src/main/res/layout/player_widget.xml | 2 +- 16 files changed, 10 insertions(+), 31 deletions(-) create mode 100644 core/src/main/res/drawable-hdpi/ic_notification.png create mode 100644 core/src/main/res/drawable-mdpi/ic_notification.png create mode 100644 core/src/main/res/drawable-xhdpi/ic_notification.png create mode 100644 core/src/main/res/drawable-xxhdpi/ic_notification.png create mode 100644 core/src/main/res/drawable-xxxhdpi/ic_notification.png delete mode 100644 core/src/main/res/drawable/ic_antenna.xml delete mode 100644 core/src/main/res/drawable/notification_default_large_icon.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b87c8d224..1f730b8a9 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -42,7 +42,7 @@ + android:resource="@drawable/ic_notification"/> diff --git a/app/src/main/res/layout/feeditemlist_header.xml b/app/src/main/res/layout/feeditemlist_header.xml index e74aeac0a..f8912b93e 100644 --- a/app/src/main/res/layout/feeditemlist_header.xml +++ b/app/src/main/res/layout/feeditemlist_header.xml @@ -22,7 +22,7 @@ android:layout_marginRight="16dp" android:layout_marginEnd="16dp" android:importantForAccessibility="no" - tools:src="@drawable/ic_antenna" + tools:src="@tools:sample/avatars" tools:background="@android:color/holo_green_dark"/> diff --git a/app/src/main/res/layout/itunes_podcast_listitem.xml b/app/src/main/res/layout/itunes_podcast_listitem.xml index dcf2face6..fe53e1944 100644 --- a/app/src/main/res/layout/itunes_podcast_listitem.xml +++ b/app/src/main/res/layout/itunes_podcast_listitem.xml @@ -23,7 +23,7 @@ android:cropToPadding="true" android:scaleType="fitXY" tools:background="@android:color/holo_green_dark" - tools:src="@drawable/ic_antenna" /> + tools:src="@tools:sample/avatars" /> + tools:src="@tools:sample/avatars"/> - - diff --git a/core/src/main/res/drawable/notification_default_large_icon.xml b/core/src/main/res/drawable/notification_default_large_icon.xml deleted file mode 100644 index 6da31b1bb..000000000 --- a/core/src/main/res/drawable/notification_default_large_icon.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - diff --git a/core/src/main/res/layout/player_widget.xml b/core/src/main/res/layout/player_widget.xml index b0e5e0fd8..6e463e9cd 100644 --- a/core/src/main/res/layout/player_widget.xml +++ b/core/src/main/res/layout/player_widget.xml @@ -40,7 +40,7 @@ android:id="@+id/imgvCover" android:layout_width="@android:dimen/app_icon_size" android:layout_height="match_parent" - android:src="@drawable/ic_antenna" + android:src="@mipmap/ic_launcher_round" android:layout_margin="12dp" />