Today I have a strange problem with the notification icon.
It looks like this:
(white circle ...)
Did I do something bad?
Uri defaultSoundUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.icon_notification)
.setContentTitle(this.getString(R.string.notification_title))
.setContentText(this.getString(R.string.notification_text))
.setAutoCancel(true)
.setSound(defaultSoundUri)
.setContentIntent(pendingIntent);
Here is my icon image (just downloaded here https://material.io/icons/#ic_photo ):
http://image.noelshack.com/fichiers/2016/44/1478185219-icon-notification.png
Did I miss something?
For recording, I use SDK 24 and just created a resource folder hdpi.
Edit # 1: I added icons ldpi, mdpiand xhdpi, nothing has changed ...
Edit # 2: For more accuracy, I'm trying to create this notification from a service ... FCM Messaging Service ...