how do I change notification color in android? I tried this code but it only changed the title and icon color.
NotificationCompat.Builder(mContext,NOTIFICATION_CHANNEL_ID).setColorized(true).setColor(Color.parseColor("#f7da64")
Make sure the Theme/Color used is consistent in
Make sure in notificationBuilder.setColor(mNotificationColor) , mNotificationColor is really pointing to the expected color code.
Check if you are setting meidastyle as shown below
.setStyle(new MediaStyle() .setShowActionsInCompactView( new int[]{playPauseButtonPosition})in compact view .setMediaSession(mSessionToken))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With