materialFadeOut

fun materialFadeOut(durationMillis: Int = MotionConstants.DefaultFadeOutDuration): ExitTransition(source)

materialFadeOut allows to switch a layout with a fade-out animation.