View Single Post
Capt'n Corrupt's Avatar
Posts: 3,524 | Thanked: 2,958 times | Joined on Oct 2007 @ Delta Quadrant
#2222
Here's a wonderful post on Android Developers about the new Honeycomb animation system:

FTA:
The new animation system in Honeycomb is not specific to Views, is not limited to specific properties on objects, and is not just a visual animation system. Instead, it is a system that is all about animating values over time, and assigning those values to target objects and properties - any target objects and properties. So you can move a View or fade it in. And you can move a Drawable inside a View. And you can animate the background color of a Drawable. In fact, you can animate the values of any data structure; you just tell the animation system how long to run for, how to evaluate between values of a custom type, and what values to animate between, and the system handles the details of calculating the animated values and setting them on the target object.
http://android-developers.blogspot.c...honeycomb.html

VIDEO:http://www.youtube.com/watch?v=-9nxx066eHE

Strangely, this entire class seems remarkably similar to a lesser-known Javascript animation class called Animator:
http://berniesumption.com/software/animator/


In any case, this is a very good and very forward thinking feature, adding a much needed layer of modularity between the UI and the animation system. Since this object is generic, it could conceivably be used not only for 2D UI components, but 3D ones as well.

Hopefully as with the fragment class, this will be decoupled from the OS, so that older versions of Android can have the same compatibility.

Last edited by Capt'n Corrupt; 2011-03-05 at 11:40.
 

The Following User Says Thank You to Capt'n Corrupt For This Useful Post: