In my Android app,i want to show a push-notification badge count into application icon like ios.
How can I show badge count into application icon ?
In my Android app,i want to show a push-notification badge count into application icon like ios.
How can I show badge count into application icon ?
1. use ShortcutBadger library for badges count
2.
Android doesn't have this particular feature.
An alternative might be to have a notification that displays the number but the app icon itself is incapable under normal circumstances.
If you REALLY wanted to break design guidelines you could make a widget that looks like your app icon and the widget gets much more control over how it's drawn. Some apps have been released to do this for Gmail, Google Voice, the standard Messaging app, and missed called for the Phone app and they masquerade as regular app icons so it is possible. I don't really recommend this approach, but it is available.