Android procedural Animation:: XML, Concepts and optimizationProcedural Animation Concepts:tweens and Interpolators
interpolator: http://developer.android.com/reference/android/animation/TimeInterpolator.html
Procedural Animation Data values:ranges and Pivot Point
Range and Center point
procedural Animation Transforms:rotate, scale, Translate scale:One Of them involves size rotation:< Span style= "FONT-SIZE:14PX;" >involves orientation (which direction that something is facing) translation:involves movement procedural Animation compositing:alpha blending procedural Animation timing:using Duration and Offsets < /span>procedural Animation Loops:repeatcount and repeatmode
RepeatCount Interger (Loop forever Use Infinite (-1))
Repeatmode:restart (1)
Reverse (2)
The <set> tag:using XML to Group procedural Animation
Android.view.animation
rule of thumb is to apply your transformational parameters locally
Procedural Animation vs. frame animation:the trade-off frame Animation
Memory intensive (more RAM required): Displaying the image from memory onto the View was fairly straightforward and does not require any Complex calculations, so all processing involves moving each frame's image asset from memory over to display screen.
Procedural animation
tends to is more processing intensive (requires more calculations)
Creating a procedural Animation Definition Using XML
Animation Pagani = Animationutils.loadanimation (this, r.anim.pag_anim); (view) pag.startanimation (Pagani);
Using Set to Create a more Complex procedural AnimationRotation transformation:going a Bit Too far with FXTweaking Transform values:the Ease of adjusting XML