setTranslationZ

open fun setTranslationZ(translationZ: Float)

Sets the translationZ used to render both fake shadows when requiresCompatShadow is true and elevation overlays. This value is the same as the native translationZ that would be used to render shadows on API 21 and up.