9. Animation
Animation helps users understand the functionality of your app without the need for explicit instruction. Android provides a few animation APIs with different use cases. Drawable and view animations offer the best compatibility, but they only operate on views. Starting with Android 3.0, the property animation framework is the preferred method for creating animations. This framework removes the limitations of view animations and can animate any object, not just views.
In this chapter, you’ll learn that you can use drawable animations to create sprite-style animation; that the view animation framework provides compatibility for older versions of Android, but that it can be used only on views; that the ObjectAnimator
is used to change ...
Get Android UI Fundamentals: Develop and Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.