mikepenz/Android-ActionItemBadge

Change color in ActionItemBadge.BadgeStyles

Closed this issue · 1 comments

ActionItemBadge.BadgeStyles.YELLOW.getStyle()

returns color #FFBB33 of badge. Is there anyway that i can change this color to #FFFF66 ???

You can define a custom BadgeStyle

style = new BadgeStyle(BadgeStyle.Style.DEFAULT, R.layout.menu_badge, Color.parseColor("#FE0665"), Color.parseColor("#CC0548"), Color.parseColor("#EEEEEE"));