zoukankan      html  css  js  c++  java
  • Android 动画特效

    一、渐变动画

      AlphaAnimation aa = new AlphaAnimation(0.3f, 1.0f); // fromAlpha , toAlpha

      aa.setDuration(2000); //持续时间

      view.startAnimation(aa); //为目标组件绑定动画效果

      aa.setAnimationListener(new AnimationListener() {

        @Override
        public void onAnimationEnd(Animation arg0) {  

        }

        @Override
        public void onAnimationRepeat(Animation animation) {

        }

        @Override
        public void onAnimationStart(Animation animation) {

        }

      });

  • 相关阅读:
    7
    6
    5
    3
    4
    2
    1
    寒假工作经历
    软件工程第三周的总结
    软件工程第三周的学习报告 html<input> final finally finalize 的比较 BigInteger
  • 原文地址:https://www.cnblogs.com/xingkai/p/5103075.html
Copyright © 2011-2022 走看看