Skip to content
Basic Example of the different ways to animate in Android using XML, ViewPropertyAnimator, Animations and Animators
Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Updated libraries Jan 19, 2019
app Updated libraries Jan 19, 2019
gradle/wrapper Updated libraries Jan 19, 2019
.gitignore Almost forgot to update this. Oct 26, 2018
AppScreenshot.png Almost forgot to update this. Oct 26, 2018
README.md Almost forgot to update this. Oct 26, 2018
build.gradle Updated libraries Jan 19, 2019
gradle.properties Almost forgot to update this. Oct 26, 2018
gradlew Updated libraries Jan 19, 2019
gradlew.bat Updated libraries Jan 19, 2019
settings.gradle Almost forgot to update this. Oct 26, 2018

README.md

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)
You can’t perform that action at this time.