Material Cardview – Children not getting clipped < API 28

  android, android-cardview

When putting a nested scroll view inside a material card view with rounded corners and scrolling there is a bug where objects such as other material card views or video players dont get clipped and there edges spill over the rounded corners. Text views and viewpager objects got there corners clipped fine. This bug appears on api 28 and below.

Does anyone know a work around for this?

Not clipped API 28 <

Clipps API29 >

Source: Android Questions

LEAVE A COMMENT