materialSharedAxisY

fun materialSharedAxisY(forward: Boolean, slideDistance: Int, durationMillis: Int = MotionConstants.DefaultMotionDuration): ContentTransform(source)

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

Parameters

forward

whether the direction of the animation is forward.

slideDistance

the slide distance of transition.

durationMillis

the duration of transition.