android-animations-java
Installation
SKILL.md
Android Animations in Java
Instructions
Prefer the property-animation system (android.animation.*) over the legacy view animations (android.view.animation.*). Prefer declarative tools (MotionLayout, Transitions) for multi-view choreography.
1. ObjectAnimator (most cases)
ObjectAnimator fadeIn = ObjectAnimator.ofFloat(binding.card, View.ALPHA, 0f, 1f);
fadeIn.setDuration(200);
fadeIn.setInterpolator(new FastOutSlowInInterpolator());
fadeIn.start();
Run several in parallel with AnimatorSet: