I want to create this layout
this is a cardview (gray view) and imageview(blue view) for that i use this code
Just add elevation to ImageView greater than CardView elevation