public void startYAnimation(float yFrom, float yTo) {
stopAll();
animation = ValueAnimator.ofFloat(yFrom, yTo);
YAnimation yAnimation = new YAnimation();
animation.setInterpolator(new DecelerateInterpolator());
animation.addUpdateListener(yAnimation);
animation.addListener(yAnimation);
animation.setDuration(400);
animation.start();
}
AnimationManager.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:AndroidPdfViewerV2
作者:
评论列表
文章目录