Description: Adding EdgeTreatment (using setLeftEdge/setRightEdge/setTopEdge/setBottomEdge/setAllEdges) on shapeAppearanceModel of the MaterialCardView hides the content of that card view
Expected behavior:

Actual behavior:

Source code: https://github.com/muthuraj57/MaterialCardView_Render_Issue
Android API version: Android 10 (29)
Material Library version: 1.1.0-alpha10
Device: Google Pixel 2 xl
Expected behavior is actually the blend of both the screenshots(with the content and the cut out).
Thanks for the report until we fix it you can do this after changing the shape appearance.
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
cardView.getChildAt(0).clipToOutline = false
}
@ymarian Thanks the workaround works perfectly fine.
Note:
The work around now is:
cardView.clipToOutline = false
We should get this addressed soon though.