Android之属性动画
来源:互联网 发布:微销宝是什么软件 编辑:程序博客网 时间:2024/06/05 02:36
ObjectAnimator translationX=ObjectAnimator.ofFloat(ivimg,"translationX",0f,200f);ObjectAnimator rotationr=ObjectAnimator.ofFloat(ivimg,"rotation",0f,360f);ObjectAnimator alpha=ObjectAnimator.ofFloat(ivimg,"alpha",1f,0f);ObjectAnimator scaleY=ObjectAnimator.ofFloat(ivimg,"scaleY",1f,3f);ObjectAnimator scaleX=ObjectAnimator.ofFloat(ivimg,"scaleX",1f,3f,1f);AnimatorSet animatorSet=new AnimatorSet();animatorSet.play(alpha).with(scaleY).with(scaleX).with(rotationr).with(translationX);animatorSet.setDuration(2000);animatorSet.start();
阅读全文
0 0
- Android 动画之属性动画
- Android动画之属性动画
- Android动画之属性动画
- android 动画 之 属性动画
- Android动画之---属性动画
- Android动画之属性动画
- Android 动画之属性动画
- Android动画之属性动画
- Android动画之属性动画
- Android动画之属性动画
- Android动画之属性动画
- Android动画之属性动画
- android之属性动画
- android之属性动画
- Android之属性动画
- Android之属性动画
- android之属性动画
- Android之属性动画
- 枚举类型
- [OpenGL] shadow mapping(实时阴影映射)
- MarkDown语法学习
- Android相关简述题
- 函数指针
- Android之属性动画
- cocos2d-x js移植安卓 —— 填坑2 Animation.addSpriteFrame的问题
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题的解决方法
- ThreadLocal 的应用总结
- UIApplicaton详情
- Codeforces Round#433 div 2
- Codeforces Round #439 (Div. 2) The Eternal Immortality
- #440 Div.2 B. Maximum of Maximums of Minimums 水
- 观察者模式