Im displaying notifications in my app - but for some reason on android version Lolipop
its displaying a gray circle next to the large icon like this:
Does anyone have an idea why is this 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)));
setSmallIcon(R.drawable.ic_launcher)
– Onyx