materialSharedAxisX
fun materialSharedAxisX(forward: Boolean, slideDistance: Int, durationMillis: Int = MotionConstants.DefaultMotionDuration): ContentTransform(source)
materialSharedAxisX allows to switch a layout with shared X-axis transition.
Parameters
forward
whether the direction of the animation is forward.
slideDistance
the slide distance of transition.
durationMillis
the duration of transition.