I do have a nested layout in a MotionLayout by using an <include>
.
<androidx.constraintlayout.motion.widget.MotionLayout
...>
<include android:id="@+id/incl"
layout="@layout/layout2"/>
...
</<androidx.constraintlayout.motion.widget.MotionLayout>
Layout2 file is as follows:
<androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/tv1"
android:text="A"
android:textSize="16sp"
/>
<TextView
android:id="@+id/tv2"
android:text="B"
android:textSize="16sp"
/>
<TextView
android:id="@+id/tv3"
android:text="C"
android:textSize="16sp"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
What I want to do is to change the textSize to 20 sp when Animation of the MotionLayout Ends.
Motionlayout animation is basic just some grow Animation by changing dimensions.