In Google I/O 2018, Google announced a new layout "MotionLayout" to reduce the effort to create an animation. In this slide, I give you a brief introduction about how to use MotionLayout in your app.
motion:constraintSetStart="@+id/start" motion:duration="1000" motion:interpolator=“linear"> <!-- More code here --> </Transition> <ConstraintSet android:id=“@+id/start"> <!-- More code here --> </ConstraintSet> <ConstraintSet android:id=“@+id/end"> <!-- More code here --> </ConstraintSet> </MotionScene>