This is a demo that +Romain Guy and I showed in our A Moving Experience talk at Google I/O this year, showing how to use the existing TypeEvaluator and Animator APIs to get curved motion for your animations.
In the real world, things don't move in straight lines. Moving items around on the screen should feel as natural as possible; sometimes curved motion can help.
This episode shows how to use the existing animation APIs to get easy curved motion for your UIs.
The helper classes come from an article I posted on my blog last year:
http://graphics-geek.blogspot.com/2012/01/curved-motion-in-android.html
YouTube: https://www.youtube.com/watch?v=JVGg4zPRHNE
Code: http://developer.android.com/shareables/devbytes/CurvedMotion.zip
No comments:
Post a Comment