Skip to content

Instantly share code, notes, and snippets.

View ricknout's full-sized avatar

Nick Rout ricknout

View GitHub Profile
@ricknout
ricknout / mdc_shape_shapeable_image_view.xml
Created March 17, 2021 13:31
MDC-Android ShapeableImageView
<!-- Copyright 2020 Google LLC.
SPDX-License-Identifier: Apache-2.0 -->
<!-- In res/values/shape.xml -->
<style name="ShapeAppearanceOverlay.App.Image" parent="">
<item name="cornerSize">0dp</item>
<item name="cornerSizeTopLeft">50%</item>
</style>
<!-- In layout -->