translateXIn

fun translateXIn(durationMillis: Int = MotionConstants.DefaultMotionDuration, initialOffsetX: (fullHeight: Int) -> Int = { -it / 2 }): EnterTransition(source)

translateXIn allows to switch a layout with a translate animation as x axis.