Is some way to change the material elevation shadow color? I already read shadow clipping from Android documentation and it is actually not showing any code sample that is usefull for this requirement. I also saw the Carbon library, but Im trying to avoid third party solutions for something that SHOULD actually be easy to do. The only approach I found till now is the following:
<style name="Widget.AppName.View.White">
<item name="android:elevation">6dp</item>
<item name="android:foreground">?attr/selectableItemBackground</item>
<item name="android:background">@drawable/background_round_corners_white</item>
<item name="android:outlineSpotShadowColor">@color/colorViewShadow</item>
<item name="android:padding">16dp</item>
</style>
But it only works on Android API 28 and above, and the current app Im working on has API 21 as minSdk.