What's the reason to use this over CardView?
zunjae opened this issue · comments
ZUNJAE commented
Title
ZUNJAE commented
You can actually use MaterialCardView
(same thing as CardView, but Material and more up to date) and specify the corners through your styles file like this
<style name="MyCardView" parent="@style/Widget.MaterialComponents.CardView">
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.MaterialCardView.Cut</item>
</style>
<style name="ShapeAppearanceOverlay.MaterialCardView.Cut" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopRight">8dp</item>
<item name="cornerSizeTopLeft">8dp</item>
<item name="cornerSizeBottomRight">0dp</item>
<item name="cornerSizeBottomLeft">0dp</item>
</style>
ZUNJAE commented
Don't mention me. It's annoying.
You have proven that this library is useless for ME. Thank you.