Get animated (Android Dev Summit '18)
Vložit
- čas přidán 28. 07. 2024
- 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 confidently use the right system to achieve any animation in your app.
Presented by: Doris Liu, Nick Butcher, John Hoford & Nicolas Roard
Android Dev Summit '18 all sessions playlist → bit.ly/ADS18-Sessions
Subscribe to the Android Channel! → bit.ly/AndroidDevs1
#AndroidDevSummit event: Android Dev Summit 2018; re_ty: Publish; product: Android - Jetpack; fullname: John Hoford, Nick Butcher, Nicolas Roard; - Věda a technologie
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
thank you for this.
God bless you!
@@SriyankSiddhartha Thanks u save my 39: 36 min thanks again!
God bless you
In 2019 people will wonder why all their apps start dancing and bouncing
did you make tutorial about animation in android studio? , you tutorial video is good ...
Sir waiting for your video to understand the animation better
lol xD
xD
You are here
Love to see you here
This is amazing. And John Hoford is such a cool guy
Do you know how they did the juggling man at 6:03
@@ottocheley7852 no
Nice to see you here, I,m you,re subscriber and a big fan also. Love you're work.
@@mrinspirational7157 thank you friend
@Coding in Flow , when can we expect a super tutorial on android animations :D
John Hoford is a great guy, always having a mild smile on his face.
Nice overview of all animation frameworks, gives me pointers on what to learn next for animations in Android
Thanks. It was so clear for understanding!
Usefull video. Where and when we could try transition tool? There is alredy year since you introduce it
Please add a codelab based on this so that we can get hands on experience
did they do it? or any other source to learn this stuff?
woah! so much inspiration!
12:26 I try that code, it's doesn't work but when I change textView.invalidate() to textView.setText(spannable), it works well
This video helped a lot.
very useful stuff. That last speaker was mint. Haha
I need that keyframe tool in my life :)
can we have the code or something ?
What is alpha 2, btw.
Subtitles in English are missing in someplaces
Wooow ... amazing :)
Finally i got the answer
Each animation api's usecase scenario summary: 37:47
37:55 summary
Could someone please provide an example of the animation at 12:23?
It's the code of the top right animatoin of the current slide
Please shared with us slide link
did this video has sample code?
How do I make an animation like the one at 6:10?
check out Lottie Render After Effects animations
AVD animated vector drawable
Who are you
17:30
The ugliest animation ever seen