I am using MotionLayout to animate recyclerview in complex layout(220 line of code). There are lots of views in layout and I had to write all of views constraints to MotionScene "start"(Otherwise everything messed up in layout). The only view that animate is recyclerview and it seemed wrong to me to write all views constraints to MotionScene. Is there a way to keep layout's views constraints like >motion:deriveConstraintsFrom="layout"< and add only the animated views constraints to MotionScene.
<Constraint android:id="@id/groupSelectionButton">
<Layout
android:layout_width="0dp"
android:layout_height="wrap_content"
motion:layout_constraintLeft_toLeftOf="parent"
motion:layout_constraintRight_toRightOf="parent"
motion:layout_constraintTop_toTopOf="parent"/>
</Constraint>