Skip to content

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

Notifications You must be signed in to change notification settings

childofthehorn/AndroidAnimationsExample

Repository files navigation

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)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages