Mainly focused on regular animations, such as - Aplha, Translate, Scale, etc.
###DeMo
video_2023-07-16_03-13-03.mp4
distributionUrl=https://services.gradle.org/distributions/gradle-7.4-bin.zip
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
implementation 'com.github.pixAndroid:AnimationX:3.4'
//SET MAX PROGRESS
int yourMaxValue = 20000;
progress_bar.setMax(yourMaxValue * 100);
//DO ANIMATION
AnimationX.smoothProgressAnimation(progress_bar, progress, duration);
AnimationX.digitCounter(0, 100, text_view);
AnimationX.text_color_change_effect(MainActivity.this, text_view, 0, Color.RED, 500);
AnimationX.spin_and_move(view);
AnimationX.fade_in(view, 2000);
AnimationX.fade_out(view, 2000);
AnimationX.spin_animation(view, duration, repeat_count);
AnimationX.alphaAnimation(view, from_alpha, to_alpha, duration, listener);
AnimationX.shake_animation(view, from_alpha, to_alpha, duration, listener);