Skip to content

Instantly share code, notes, and snippets.

@MasoudFallahpour
Last active July 15, 2020 05:16
Show Gist options
  • Save MasoudFallahpour/a56f30162d46551951fd4dbace745b5d to your computer and use it in GitHub Desktop.
Save MasoudFallahpour/a56f30162d46551951fd4dbace745b5d to your computer and use it in GitHub Desktop.
Defining a shape appearance style in styles.xml
<resources>
...
<style name="ShapeAppearance.Button.CutCorners" parent="ShapeAppearance.MaterialComponents.SmallComponent">
<item name="cornerFamily">cut</item>
<item name="cornerSize">8dp</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment