private void launchCirclesAnimation() {
circleTwo.setScaleX(0f);
circleTwo.setScaleY(0f);
circleThree.setScaleX(0f);
circleThree.setScaleY(0f);
ObjectAnimator animator = getCircleAnimation(circleOne, CIRCLE_ANIMATION_TIME);
animator.setRepeatMode(ValueAnimator.RESTART);
animator.setRepeatCount(ValueAnimator.INFINITE);
animator.setInterpolator(new FastOutLinearInInterpolator());
animator.start();
ObjectAnimator animator2 = getCircleAnimation(circleTwo, CIRCLE_ANIMATION_TIME);
animator2.setStartDelay(CIRCLE_ANIMATION_DELAY_ONE);
animator2.setRepeatMode(ValueAnimator.RESTART);
animator2.setRepeatCount(ValueAnimator.INFINITE);
animator.setInterpolator(new BounceInterpolator());
animator2.start();
ObjectAnimator animator3 = getCircleAnimation(circleThree, CIRCLE_ANIMATION_TIME);
animator3.setStartDelay(CIRCLE_ANIMATION_DELAY_TWO);
animator3.setRepeatMode(ValueAnimator.RESTART);
animator3.setRepeatCount(ValueAnimator.INFINITE);
animator.setInterpolator(new AccelerateDecelerateInterpolator());
animator3.start();
}
PostAJobAnimatedView.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:android-complex-animation
作者:
评论列表
文章目录