If you want to change badge with number, you can be changed in NOTIFICATION SETTING on the notification panel or Settings > Notifications > App icon badges > Select Show with number.
How do I display the count of notifications in the toolbar icon in Android?
This example demonstrate about How to display count of notifications in toolbar icon in Android. Step 2 − Add the following code to res/layout/activity_main. xml. Step 3 − Add the following code to src/MainActivity.
Why are my app badges not showing numbers?
Go to your phone’s Settings and tap on notifications. Scroll down to ‘App icon badges’ and toggle on the switch next to it. Next, tap on the ‘App icon badges’, rather than the toggle, and ensure that ‘show with numbers’ is selected to show the notification count on the Apps.