Skip to content

Instantly share code, notes, and snippets.

@yarneo
Created January 3, 2019 21:51
Show Gist options
  • Save yarneo/b4697d2d023d0ed4464396656d5f57d2 to your computer and use it in GitHub Desktop.
Save yarneo/b4697d2d023d0ed4464396656d5f57d2 to your computer and use it in GitHub Desktop.
button.background as? MaterialShapeDrawable?.let {
it.shapeAppearanceModel.apply {
cornerFamily = CutCornerTreatment(cornerSize)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment