private void runRevealNProgress(){
revealAnimator.setDuration(duration(R.integer.conceal_duration));
revealAnimator.setInterpolator(new DecelerateInterpolator());
seekBar.setProgress(80);
ObjectAnimator progressAnimator=ObjectAnimator.ofInt(seekBar,"progress",80,20);
ObjectAnimator scaleY=ObjectAnimator.ofFloat(seekBar,View.SCALE_Y,0,1f);
progressAnimator.setInterpolator(new DecelerateInterpolator());
progressAnimator.setDuration(duration(R.integer.progress_duration));
scaleY.setDuration(duration(R.integer.progress_duration));
AnimatorSet animatorSet=new AnimatorSet();
animatorSet.play(revealAnimator);
animatorSet.play(progressAnimator).with(scaleY);
animatorSet.start();
}
PlayerFragment.java 文件源码
java
阅读 48
收藏 0
点赞 0
评论 0
项目:Material-Motion
作者:
评论列表
文章目录