Created
March 30, 2022 22:25
-
-
Save GiuseppeGiacoppo/6c2f02b42357e359e3d3a67e9c7d038c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val ticketShapePathModel = ShapeAppearanceModel | |
.Builder() | |
.setAllCorners(CornerFamily.ROUNDED, 36f) | |
.setLeftEdge(TicketEdgeTreatment(36f)) | |
.setRightEdge(TicketEdgeTreatment(36f)) | |
.build() | |
class TicketDrawable : MaterialShapeDrawable(ticketShapePathModel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment