Skip to content

Android View Animations

A Java library that adds ready-made animation effects to Android views, with a simple call to play them.

Stars
12.4k
Forks
2.4k
Licence
MIT
Language
Java
Last update
5.2 years ago
Type
Library

No commits in over a year — check for forks or alternatives before adopting.

What it is

AndroidViewAnimations is a collection of pre-built animation effects, such as fades, slides, zooms, bounces and flips, that Android developers can apply to views in their apps. Instead of writing animation code from scratch, a developer picks an effect by name and plays it on a view using a small chained call. The README says it relies on a companion project for easing functions to make motion look more natural.

  • Animate a button with a Tada or Pulse effect to draw attention to it
  • Slide or fade in a panel when a screen opens using a SlideInUp or FadeInDown effect
  • Repeat a Shake or Wobble effect on a form field to signal an input error
  • Play a RollIn or ZoomIn effect on a splash-screen logo

Great for

  • Android developers who want quick, polished entrance or attention animations for buttons, cards or text
  • Developers prototyping a UI who need placeholder motion without custom animation code
  • Teams that want a simple, named set of effects rather than building their own

Not ideal for

  • Projects needing a maintained, actively updated library: the last push in the metadata is from August 2021, so compatibility with newer Android versions is unverified
  • Apps needing highly custom or complex animation sequences, since the README shows a single chained call and no advanced timeline features
  • Non-Android developers, since the library targets Android only
Step-by-step guide: how to use Android View AnimationsInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    You'll need: Android Studio or a Gradle-based Android project

    Add the Gradle dependency (from README)

    implementation 'com.daimajia.androidanimations:library:2.4@aar'
  2. 2

    Run it

    • Add the Gradle dependency to your app's build.gradle file and sync the project
    • Call YoYo.with(Techniques.Tada) on a view, optionally setting duration and repeat
    • Call playOn with the target view, for example findViewById(R.id.edit_area)
    • Try other effect names listed in the README's Effects section
  3. 3

    Get the most out of it

    • Adjust duration and repeat on the YoYo call to control timing and looping
    • Browse the Effects list in the README (Attention, Fade, Rotate, Slide, Zoom and more) to pick the right motion
    • Check the Techniques.java file in the repository to see every available effect
    • Pair the library with the linked Android Easing Functions project for more natural motion

Downloads

Strengths

  • Large collection of named effects, documented in the README by category
  • Very short usage: one chained call with options like duration and repeat
  • Widely starred on GitHub (12,435 stars at time of metadata) and released under the permissive MIT license

Trade-offs

  • Last code push was August 2021 and the README shows an older version (2.4), so long-term support is uncertain
  • Depends on a separate easing-functions library that must also be added to the project
  • The README gives no detail on compatibility with current Android versions or on performance testing

How it compares

ProjectStarsTypeLevelUpdatedBest for
AndroidViewAnimations (this)12.4kLibrarybeginner5.2 years agoAndroid developers who want quick, polished entrance or attention animations for buttons, cards or text
BaseRecyclerViewAdapterHelper24.6kLibraryintermediate15 days agoAndroid developers who build list screens with RecyclerView
SkeletonView12.9kLibrarybeginner5 months agoiOS developers building apps that load data from the network
Detox12.1kLibraryintermediate4 days agoTeams building React Native apps for Android and iOS who want automated end-to-end tests
animated-tab-bar11.1kLibraryintermediate4.8 years agoiOS developers who want animated tab bar icons without writing the animation logic from scratch
manim96kLibraryintermediate2 months agoProgrammers who want to make math or science explainer videos with precise, code-controlled animation

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.