ArcMenuActivity.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:Android_Study_Demos 作者:
private void startAnim() {

    for(int i=1;i<ids.length;i++){
        ObjectAnimator animator=ObjectAnimator.ofFloat(imageList.get(i), "translationY", 
                0F,i*80F);

        //设置加速插值器
        //animator.setInterpolator(new AccelerateInterpolator());

        //设置弹跳插值器
        animator.setInterpolator(new BounceInterpolator());
        animator.setDuration(1000);
        animator.setStartDelay(i*300);
        animator.start();

    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号