From eb3993f776da330741ef9ef6522a5b20bd45f20b Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 20 Sep 2020 23:13:28 +0200 Subject: [PATCH] New notification icon --- app/src/main/AndroidManifest.xml | 2 +- app/src/main/res/layout/feeditemlist_header.xml | 2 +- .../main/res/layout/gpodnet_podcast_listitem.xml | 2 +- .../main/res/layout/itunes_podcast_listitem.xml | 2 +- .../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 +- .../PlaybackServiceNotificationBuilder.java | 4 ++-- .../main/res/drawable-hdpi/ic_notification.png | Bin 0 -> 1016 bytes .../main/res/drawable-mdpi/ic_notification.png | Bin 0 -> 618 bytes .../main/res/drawable-xhdpi/ic_notification.png | Bin 0 -> 1441 bytes .../main/res/drawable-xxhdpi/ic_notification.png | Bin 0 -> 2390 bytes .../res/drawable-xxxhdpi/ic_notification.png | Bin 0 -> 3121 bytes core/src/main/res/drawable/ic_antenna.xml | 6 ------ .../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"/> ~9hMNk~PtXc5)dId8uEocp~|A5UB5fy2Bx=gfESyLV>pWMwVle}IT&gH_-$ z@G|%S90MO}pE~_)J9a^V3lxAy!MEb@8+--c1+Qw$K6T=axO{=FHE*Ek4)7!R2fV5M zl{QCE2X|_Yd5+s|a~T1Ja>0w@FbrafsxagY3f^)dnLXub2+n-dt+sQ>7+^&-Hl2G4-E#jP^7>{r`t1lH5KjnqSx?FSJr{NDKcEH%G2%%RWJWQ(!D#-(zw0S6Dv?1P_UOv{eCb8~6>J0{7XX z?1L@pGq=t6HN!oMIBdNXAhbl>UUEO+Z2-T5Pr)_T_d#ECys3==e^9Tp#CkCxP%aM5 z0q+j@30!Nv5SY{aoq*S@*D1GN3<$J|dtJpwuh0UmM&~}YTij&b#lG=dbzFtfi^W~1 z&DT?aKo2+>(7VB(V4sF5ef&1WKK)(kL8LcC_1A`8e;}&qw*Hj;rz~YGkfdOzVp!b3k zMr%mkLL3byHv#tgn(Ex=2CNSuX|RcG%H?&fPcprN-|gT9gN{d~Jy%UWO-zlwBR#sF+nd zBM{uHh3f;JKR?DbcTW4~v_Brods@Bb_E;|n1ebv?!RKJU^$Brbe9jFb@eyXLed?ul z48eNfGjZRsJnPR0glomkhu}^My-P3tTJ$Nf)jrW>#}MMa1gu+Yy*YtFom%{)m`9KP z3-$Qv;6ZJRw$Z2LrOESVS%>KKy|kf4E@+X&JW-to_jFL{jfv(L>!r-Aw86pPaq%`V znO@?b!4LX70{dU|_gQZYH{264pPTU^IswtE~_^ffp8w`x8>@jP)yQX+P8w19t5bIkv<*Hs687kAK) m9dRw-uhty%b=F@*ruYlt literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-mdpi/ic_notification.png b/core/src/main/res/drawable-mdpi/ic_notification.png new file mode 100644 index 0000000000000000000000000000000000000000..42943c7f094828395b9e5925619d71a85ff709e1 GIT binary patch literal 618 zcmV-w0+s!VP)E#&&$1?)S@M3FXt)U{(BZsR*nqF_%FtR~tLy84_u3h6ldkT9*YHpq zIA5E|Q`Y7DNqCy-5)pKUcsd%Lw-5JypO-Q?aCM{Y(dqkAI1an69)Pz{YjrPdh4|0x zHLuos2Hf1P_DXdj%vo4*^<7wZ^-=hx7tUW-ud7#JHr0hN=V8IsbFk>@AI0{pov%|j z=jsKRPjw;8DcErJ9oTWTPEC^U+fi@UHnm&3QA>2Q?v{@yGDU*7B6ixPIMg?NOJ!5)mxHmaEU+FFc1slunwEhJBB% zb;>Tj&4ev*3?rGZqxlUQ46Qe_o)MdE@qU?T7=#aS+iJaoba~#vJwt1GXYVBS+RR|d zW*5l@_G~>CqCVNvug9!sFW3jFSPazIb34ROr(2u;L|V(+_Pu{B2Akn~a5vgzy1~kt z^Q>YqJQ1RX&dG)>o5-_@72-J`4d?tE%CoF5&;F@?0;_{LbIb4JfdBvi07*qoM6N<$ Ef+J%zzyJUM literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-xhdpi/ic_notification.png b/core/src/main/res/drawable-xhdpi/ic_notification.png new file mode 100644 index 0000000000000000000000000000000000000000..2c633ba6bcf45d558977a01b358d3d1a67bee4af GIT binary patch literal 1441 zcmV;S1z!4zP)AwCNe`5N&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awable/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" />