A gray circle next to a large notification icon?

Im showing notifications in my application, but for some reason, the Android version of Lolipop displays a gray circle next to a large icon like this:

enter image description here

Does anyone have an idea why this is happening?

Here is my code in which I create my notifications:

 builder = new NotificationCompat.Builder(context) // Set Icon .setSmallIcon(R.drawable.ic_launcher) .setLargeIcon(icon) // Set Ticker Message .setTicker(message) // Set Title .setContentTitle(message) // Set Text .setContentText(context.getString(R.string.app_name)) // Add an Action Button below Notification // .addAction(R.drawable.share, // context.getString(R.string.share), pendingShare) // Set PendingIntent into Notification .setContentIntent(contentIntent) // Dismiss Notification .setAutoCancel(true) .setSound( Uri.parse("android.resource://" + context.getPackageName() + "/" + prefs.getInt(Constants.NOTIF_SOUND, R.raw.al_affassi_full))); 
+6
source share
1 answer

Your notification icon should follow the design of notifications from here: sign notifications>

Notification icons should be completely white. In addition, the system may reduce and / or darken the icons.

Edit

try with this image (the image is white and is between ///)

/// small icon ///

+3
source

Source: https://habr.com/ru/post/980112/


All Articles