materialSharedAxisYOut

fun materialSharedAxisYOut(forward: Boolean, slideDistance: Int, durationMillis: Int = MotionConstants.DefaultMotionDuration): ExitTransition(source)

materialSharedAxisYOut allows to switch a layout with shared Y-axis exit transition.

Parameters

forward

whether the direction of the animation is forward.

slideDistance

the slide distance of the exit transition.

durationMillis

the duration of the exit transition.