You can use MotionLayout to animate the location, size, visibility, alpha, color, elevation, rotation, and other attributes of multiple views at the same time. It's based upon ConstraintLayout, and lets you animate anything that you can build using ConstraintLayout. MotionLayout is a library that lets you add rich motion into your Android app. We recommend that you do all the codelabs in order, because they progress through tasks step-by-step.Īnimations with MotionLayout utilize many of the same concepts as Keyframe animations with Constraint Layout, and extend those concepts to allow you to finely customize the animation. This codelab is part of a series about Animation with Android. All the course codelabs are listed on the Advanced Android in Kotlin codelabs landing page. You'll get the most value out of this course if you work through the codelabs in sequence, but it is not mandatory. This codelab is part of the Advanced Android in Kotlin course.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |