Skip to content
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

Add badge to bottom bar item #29

Merged
merged 5 commits into from
Apr 10, 2020
Merged

Conversation

brookmg
Copy link
Contributor

@brookmg brookmg commented Apr 8, 2020

  • It's possible now to add a badge to a bottom bar item using the setBadge method which accepts the index and Badge object
  • A badge object can be of two types. CIRCLE or BOX.
  • The circle badge is useful to get the user attention for minor occurrences. it's not advised for badges with text content.
  • The box badge can be used to display a badge with text. It's better if the length of the text is limited to 3 characters or less.
  • Fixes How to add notification badge to icons #13

@ibrahimsn98 ibrahimsn98 merged commit d7f09cd into ibrahimsn98:master Apr 10, 2020
@crismaver1993
Copy link

@brookmg Do you have a example how to implement it?

I have not found how to achive it. :/

May you help me?

@brookmg
Copy link
Contributor Author

brookmg commented Mar 4, 2021

Hey @crismaver1993 ... Due to design guidelines, this library doesn't support badges. This feature was removed at 3f920bd to make SmoothBottomBar simple and straightforward. You can open an issue and we can discuss it tho

This was referenced Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to add notification badge to icons
3 participants