mikepenz/Android-ActionItemBadge

Make it round

Closed this issue · 2 comments

Would it be possible to make the badge a perfect circle when there's only one number? Thanks.

@Mathbl you can define a corner on the BadgeStyle you can provide. If the corner is half of the full width the badge will be a circle

Yes, I created my own menu_badge layout and put a minWidth. That way, setting the corner value did the trick.

Thanks and good job on the library.