Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Animation > Wrapping Up

Wrapping Up

This chapter covered the basics of animation on Android. There are currently three animation frameworks: drawable animation, view animation, and property animation. Drawable animations are simple to implement but require a different image for each frame of animation. View animations can be used only on views and have been deprecated in favor of property animations. Property animations are very powerful and allow you to apply time-based functions to any object. In this chapter, you learned that

• Drawable animations create sprite-style animated graphics by rapidly switching images.

• You should define your animations using XML for easy reusability.

• Android supplies several interpolators that alter how your animation is applied over time.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint