materialSharedAxisXIn

fun materialSharedAxisXIn(forward: Boolean, slideDistance: Int, durationMillis: Int = MotionConstants.DefaultMotionDuration): EnterTransition(source)

materialSharedAxisXIn allows to switch a layout with shared X-axis enter transition.

Parameters

forward

whether the direction of the animation is forward.

slideDistance

the slide distance of the enter transition.

durationMillis

the duration of the enter transition.