mikepenz/Android-ActionItemBadge

How to make the icon not increase in size,

Closed this issue · 3 comments

How to make the icon not increase in size,
the two examples have the ic_notifications_white_36dp icon, but when I use ActionItemBadge, update (.., .., getDrawable (R.mipmap.ic_notifications_white_36dp), ActionItemBadge.BadgeStyles.RED, 1) the icon gets bigger.
  Is there any way to make the icon using update () get the original size?
screenshot_1505924668

@mikepenz Your jobs are greats, congratulation.

You will have to adjust this layout and change the sizings.
https://github.com/mikepenz/Android-ActionItemBadge/blob/develop/library/src/main/res/layout/menu_action_item_badge.xml
(probably the ImageView should not use the default scaleType)

hi, anyway to do it without modify library? Thanks