Skip to content

[BadgeDrawable] Added shape customizations #1640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gabrielemariotti
Copy link
Contributor

This PR adds some features to the BadgeDrawable:

  • Use of shapeAppearance/shapeAppearanceOverlay in the badge style to customize the shape of the badge:

Schermata 2020-08-20 alle 21 45 59Schermata 2020-08-20 alle 21 57 02Schermata 2020-08-20 alle 12 47 37

  • badgeRadius/badgeWithTextRadius to customize the badge radius(or size):

Schermata 2020-08-20 alle 22 09 42

  • badgeStrokeColor / badgeStrokeWidth to customize the badge stroke

Schermata 2020-08-20 alle 21 56 19 Schermata 2020-08-20 alle 21 55 28

It preserves the current default behavior.

It can close #1200, #826.

@panpanini
Copy link

was there any update on the design feedback for this?

@akhbulatov
Copy link

Any progress?

@Igor755
Copy link

Igor755 commented Jun 9, 2022

when can we expect changes?

@tbress89
Copy link

Any updates on this? Possibility of adding a stroke to a badge would be highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BadgeDrawable] Advanced customization for badges
8 participants