I have a ui design. I should to make some xml file with custom shadow color.
I used to carbon library but it not work very well
I need to create shadow like this

I have a ui design. I should to make some xml file with custom shadow color.
I used to carbon library but it not work very well
I need to create shadow like this

This should work for Android version 28 or higher.
In your xml layout, include this in your CardView.
You can do the same in code by doing this: