BottomBar icon indicating copy to clipboard operation
BottomBar copied to clipboard

Not support set badge count in text format

Open itman85 opened this issue 7 years ago • 3 comments

I currently cannot set badge count in text format. In case number is large such as 150,200... i want to display badge number as "99+". But there is method set badge with integer only.

itman85 avatar Oct 06 '17 07:10 itman85

The problem with this approach is that some logic is performed behind the badge count (like hiding or showing if greater or less than 0), so I'm not sure how the app should behave when having String values. IMO, I'd agree implementing something like TextView's ellipse (using a threshold), like, if count > x show '+' sign. What do you think @itman85 and @roughike ? I'd gladly drop a PR !

leonardo2204 avatar Oct 08 '17 22:10 leonardo2204

That's awesome if support a threshold to show plus sign and setting text size

itman85 avatar Oct 09 '17 04:10 itman85

@itman85 PR #859 created. Now we wait :)

leonardo2204 avatar Oct 09 '17 16:10 leonardo2204