How to make the icon not increase in size,
Closed this issue · 3 comments
dev12-SC commented
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?
@mikepenz Your jobs are greats, congratulation.
mikepenz commented
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)
fukemy commented
hi, anyway to do it without modify library? Thanks