Posted by Chet Haase, Developer Relations Engineer
We just lately completed another series of MAD Skills videos – this time on Movement Format. We lined methods wherein you should utilize the API and the design instrument to create wealthy, customized, and complicated animations to your customers.
Try the episodes under to extend your information and expertise in numerous areas of the Movement Format API and design instrument. And watch the reside Q&A episode, that includes engineers on the Movement Format and Developer Relations groups.
Episode 1 – ConstraintSet Animations
This video explores how ConstraintSets are used to outline completely different states of your UI that you just animate between. Alongside the best way, Sean reveals methods to use Movement Editor in Android Studio to create and edit these transitions.
Episode 2 – Keyframes
This episode reveals methods to use Keyframes in a MotionLayout animation to customise the animation by altering the values of assorted properties over time. For instance, you should utilize keyframes to vary the trail an object takes between begin and finish, as an alternative of following simply the default linear path it could observe in any other case.
Episode 3 – A number of ConstraintSets
On this third episode, Sean reveals how one can add ConstraintSets, past the default two (begin + finish) to create extra complicated animations, or transitions that stream by a number of states between the beginning and finish.
Episode 4 – Constructing a Collapsible Header
Within the fourth episode, explains methods to construct a collapsible toolbar utilizing Movement Format, which is a standard place the place this API shines. Alongside the best way, you will discover ways to animate customized attributes utilizing MotionLayout.
Episode 5 – Reside Q&A
The ultimate episode of the collection was a reside Q&A, streamed and recorded on February 18th. It’s too late to see it or ask your questions reside, however take a look at the recording to observe the dialog between me (asking the Qs) and Sean, John, and Nicolas (supplying the As).
Extra Movement Format Sources
There are many different assets to be taught extra about methods to use Movement Format, moreover this MAD Skills series, together with:
- MotionTags: This collection of screencasts on particular areas of the Movement Format API simply wrapped up.
- Motion Layout Guide: This information on our developer website supplies an incredible jumping-off level with an summary of the API, code snippets displaying methods to get began, and examples of methods to do numerous sorts of animations with Movement Format.
- Examples: This doc has a number of visible examples, alongside the XML it took to create them.
- ADB podcast: I had a dialog with John, Nicolas, and Sean (not coincidentally, the identical individuals who joined me for the livestream Q&A on MotionLayout) a couple of weeks in the past. If you wish to hear extra about MotionLayout and ConstraintLayout, test it out on the podcast site or in your favourite podcast app.
However Wait, There’s Extra!
The Movement Format collection might have ended, however there’s nonetheless lots nonetheless to return within the MAD Expertise collection. Make sure you test the MAD Skills playlist on YouTube, the articles on Medium, or this handy landing page that factors to all of it.