49.4 Configuring ConstraintSets
The ConstraintSets in the MotionScene file allow the full set of ConstraintLayout settings to be applied to a view in terms of positioning, sizing and relation to the parent and other views. In addition, the following attributes may also be included within the ConstraintSet declarations:
•alpha
•visibility
•elevation
•rotation
•rotationX
•rotationY
•translationX
•translationY
•translationZ
•scaleX
•scaleY
For example, to rotate the view by 180° during the animation the following could be declared within the start and end constraints:
<ConstraintSet android:id="@+id/start">
<Constraint
.
.
motion:layout_constraintStart_toStartOf="parent"
android:rotation="0">...