* Honeycomb and newer
* Honeycomb and newer
universal
works with almost all objects
change the object, not its presentation
not tied to View objects
many types of animation
not defined
(c) Andrew Komrachkov
drawable_animation.xml
super complicated animations with various effects
complicated changes
large number of resources and long build
difficult to create
Code
XML
not defined
works with View only
executes only with onDraw()
one animation per object (but have AnimationSet)
elementary types (transition, size, rotation, scale)
animation doesn't change object
nice animation effect
intuitive transition
not supported on pre-Lollipop devices (except middle quality backports)
Parent screen
Child screen
*API 16+
card_flip_left_in.xml
card_flip_left_out.xml
*API 11+
*API 16+
API 14+
API 14+
API 11+
API 8+
API 8+
API 14+
API 12+
Valeriy Palamarchuk