Emmanuel
Emmanuel

Reputation: 17071

Empty red circle in Android notification status bar!

When I have a status bar notification with a number inside, it shows the number fine. But later if I show another notification to replace this one, with no number, it shows an empty red circle. This circle shouldn't be there. How do I remove the red circle? See image here: http://jump.fm/UYHGV

I've already tried:

notification.number = 0;

and

notification.number = -1;

And forget about canceling notifications first. Since there's no way to query the notification service for existing notifications, I can't detect if the previous one needs to be updated. If I would cancel every time I notify, the user will see the status bar flashing once in a while, which is annoying.

Please advise.

Emmanuel

Upvotes: 0

Views: 1812

Answers (1)

Related Questions