Using MotionLayout you can add simple to complex animation on any number of views.
During the animation, at the start or at the end of animation you can also change the attribute of views like background color, text color, etc.
Here is the link for this project
https://github.com/raipankaj/MotionLa...