Skip to content

Latest commit

 

History

History
executable file
·
24 lines (14 loc) · 867 Bytes

File metadata and controls

executable file
·
24 lines (14 loc) · 867 Bytes

AndroidAnimationsExample

Basic Example of the different ways to animate in Android using XML, ViewPropertyAnimator, Animations and Animators

These represent multiple objects with scaling and alpha, two of the most "Taxing" animations. There are bad exmaples and Good examples here and what is most important is that you will be able to see the differences.

App Screenshot

Min SDK

Min sdk is API 21 (Lollipop)

Features

Framerate is shown by the inclusion of TinyDancer (https://github.com/friendlyrobotnyc/TinyDancer).

4 different animation types shown:

  • XML Animations
  • View Property Animator / view.animate()
  • Animations (ScaleAnimation and AlphaAnimation with AnimationSet)
  • Animators (ObjectAnimator with AnimatorSet)