Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Display badge on top of bottom navigation bar’s icon

  • 0

I have implemented the bottom navigation view in my app and I have looked every where to display badges on top of the icons like this I was wondering whether this is even possible to implement. Any help is appreciated. Thank you.

Share This Post
Share
  1. When using support library Bottom Navigation bar, its quite complex to show a badge/notification on menu items. However there are easy solutions to get it done. Such as https://github.com/aurelhubert/ahbottomnavigation

    This library is more advanced version of Bottom Navigation bar. And you can set a badge on menu item simply using this code snippet.

    bottomNavigation.setNotification(notification, bottomNavigation.getItemsCount() - 1);

    And you’ll get following result

    • 0
Leave an answer

Leave an answer

Browse

close