-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Badge not resizing when setting new value #853
Comments
same here |
@elly0t I managed to temporarily fix the issue by checking if the new number's digit count goes over or under 100. It if does, then I remove the badge and add it instead of just setting the number. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested on version 2.3.1
Calling setBadgeCount() doesn't resize the badge icon when going to a larger number. Ex. 99 ->101. The "10" gets cut off. Looking at the view debugger it shows the badge TextView as the same size before and after setting the badge count.
The only solution I found around this is to remove the badge first and then set it if the number is going to be large.
The text was updated successfully, but these errors were encountered: