I am displaying BadgeDrawable without any text, just the dot. Is it possible to set the size to a smaller size on the BadgeDrawable somehow?
I am displaying BadgeDrawable without any text, just the dot. Is it possible to set the size to a smaller size on the BadgeDrawable somehow?
Cannot edit directly, it's set in constructor. May try reflection, see if can help:
Field field = BadgeDrawable.class.getDeclaredField("badgeRadius");
field.setAccessible(true);
field.set(BadgeDrawable.create(this), SMALLER_SIZE);