组合动画
来源:互联网 发布:xlsx 导入 java 编辑:程序博客网 时间:2024/05/07 19:01
img=(ImageView)view.findViewById(R.id.img);RotateAnimation animation = new RotateAnimation(0, 180, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);animation.setRepeatCount(1);animation.setRepeatMode(Animation.RESTART);TranslateAnimation animation1 = new TranslateAnimation(Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_SELF, 0.8f, Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_SELF, 0.8f);animation1.setRepeatCount(1);animation1.setRepeatMode(Animation.RELATIVE_TO_PARENT);AnimationSet set = new AnimationSet(true);set.addAnimation(animation);set.addAnimation(animation1);set.setDuration(5000);img.startAnimation(set);
阅读全文
0 0
- 组合动画
- 组合动画
- 组合动画
- 动画组合
- 组合动画
- 组合动画
- 四种补间动画,组合动画
- 组合动画CAAnimationGroup
- 组合动画CAAnimationGroup
- 做组合动画
- 代码实现组合动画
- UE4 蒙太奇 组合动画
- 属性组合动画
- 简单的组合动画
- 属性组合动画
- 【Android动画】简单的组合动画按钮
- 属性动画:基本使用和组合动画
- Android属性动画Property Animation,组合动画
- 数据操作语句-2
- Java实现多线程的三种方式
- CentOS启动时遇到的问题
- java 动态代理
- 网络NTP协议时间校对源码
- 组合动画
- alpha测试和beta测试的区别
- tf官网进不去解决方案
- 2017 09 03 小结
- 17.9.3日报
- ajax 的过程
- ArrayList遍历时不能写
- HDU
- 使用Lucene词频统计与d3.cloud展示的中文英文词云系统