Android 12 Developer Preview is here! Try it out, and give us your feedback!

com.google.android.material.elevation

Classes

ElevationOverlayProvider Utility for calculating elevation overlay alpha values and colors.