Droppers / AnimatedBottomBar

A customizable and easy to use BottomBar navigation view with sleek animations, with support for ViewPager, ViewPager2, NavController, and badges.
MIT License
1.38k stars 109 forks source link

How to add a badge or indicator ? #15

Closed codeslu closed 3 years ago

codeslu commented 4 years ago

How to add a badge or a number indicator to the bottom bar?

Droppers commented 4 years ago

At the moment this is not possible and to be honest, I don't really know how I would implement this visually.

Where would a badge / number indicator for the "Bread" item be located in this instance? I am welcome for suggestions!

codeslu commented 4 years ago

Maybe you can add the indicator like whatsapp unread chat indicator image

Droppers commented 4 years ago

That sounds like an option.

codeslu commented 4 years ago

Looks great would be nice if you give control to badge attributes (color ,size ,font.... etc)

brookmg commented 3 years ago

Is this currently being implemented?

Droppers commented 3 years ago

@brookmg afaik I completed it, but I did not commit it yet since making the documentation for it is time-consuming. I'll try to look at it as soon as possible, to see if it is finished or not, I am not sure anymore.

Droppers commented 3 years ago

@brookmg I have committed the changes for badges, and also updated the README. Could you check if those features are sufficient?

brookmg commented 3 years ago

Awesome. I will check it out right now

Droppers commented 3 years ago

@brookmg you can also look in the demo app, I'll release it as soon as possible.

Droppers commented 3 years ago

This is now available, released version 1.0.9: implementation 'nl.joery.animatedbottombar:library:1.0.9'.