Android offers a range of animation systems—from ObjectAnimator, to window animations, transitions, physics based animations and now MotionLayout, which is a new class available in the ConstraintLayout 2.0 library that can manage motion and widget animation in applications.
This talk provides an exhaustive overview of the various systems, showing how and when to use each one, and how to make them play together nicely. Knowing the difference between the systems will help you to quickly and…
how to implement motion layout in side viewpager to view , gone some content of viewpager item
woah! so much inspiration!
Does someone have the source code link of Chris Banes work demonstrated in this video? 36:00
Subtitles in English are missing in someplaces
Usefull video. Where and when we could try transition tool? There is alredy year since you introduce it
The ugliest animation ever seen
Nice overview of all animation frameworks, gives me pointers on what to learn next for animations in Android
In case anyone wants the full code for the animation at 12:28
https://gist.github.com/MarkNjunge/d10119b758e51708ad276717e3bb7a15
12:26 I try that code, it's doesn't work but when I change textView.invalidate() to textView.setText(spannable), it works well
37:55 summary
What is alpha 2, btw.
very useful stuff. That last speaker was mint. Haha
1:15 Android Animation APIs (overview) :
View Animations
Value Animator
Object Animator
View Property Animator
Transitions
Animated Vector Drawable
Physics
Motion Layout
2:52 One single use case where View Animations are still required
And that is when you are doing Window Animations, when a new activity launches
3:34 Other use case for View/Window Animations is if fragment transactions are being done
3:56 So, When to use View Animations(android.view.animation) :
Window animations
Fragment animations requiring measured size
4:17 Animator
5:25 Animators
ObjectAnimator
ValueAnimator
Animator
AnimatorSet
5:37 ViewPropertyAnimator -> ValueAnimator -> Animator
7:25 PropertyValueHolder demo
8:30 ObjectAnimator demo code
ObjectAnimator.ofPropertyValuesHolder(failText, scale X, Scale Y, alpha)..
8:38 Above PropertyValueHolders in xml
9:25 ViewPropertyAnimator
11:10 ValueAnimator
12:44 When to use which Animator
ObjectAnimator – general purpose, property animator
ValueAnimator – custom animation
ViewPropertyAnimator – multiple properties on the same view, fire and forget
PropertyValuesHolder – multiple property on the same object
AnimatorSet – choreograph a set of animations
14:10 Animated Vector Drawable
It connects together Vector Drawable to one and multiple objects of Animator
15:12 When to use AnimatedVectorDrawable :
Icon animations
Fire & forget animations
Performance critical
15:50 Physics based Animations
Interruptible
Continuity
Realistic look
19:20 Transitions
21:45 When too use Transitions :
Shared element activity transitions
Window content enter/exit
Modularize animations
Simple changes
22:13 Motion
22:35 Constraint Layout 2.0 :- Helpers
26:20 Motion Layout
Could someone please provide an example of the animation at 12:23?
Amazing Cooooooool
Amazing Cooooooool
can we have the code or something ?
John Hoford is a great guy, always having a mild smile on his face.
In 2019 people will wonder why all their apps start dancing and bouncing
Please add a codelab based on this so that we can get hands on experience
How do I make an animation like the one at 6:10?
I need that keyframe tool in my life 🙂
This video helped a lot.
Finally i got the answer
This is amazing. And John Hoford is such a cool guy