动画
2016-07-28 22:52
232 查看
旋转
ObjectAnimator anim; anim = ObjectAnimator.ofFloat(imageView, "rotation", 0, 360); anim.setDuration(5000); anim.setRepeatCount(Animation.INFINITE);//无限循环 // anim.setRepeatCount(5); LinearInterpolator lir = new LinearInterpolator(); anim.setInterpolator(lir);//设置匀速旋转 anim.setRepeatMode(ObjectAnimator.RESTART); anim.start(); // anim.pause(); // anim.resume();
相关文章推荐
- VMware虚拟机内安装的Ubuntu 16.04设置静态IP地址 spark2.0集群固定IP配置
- Reverse Integer
- 大数据Spark “蘑菇云”行动前传第10课:Scala继承彻底实战和Spark源码鉴赏.
- unity3d培训_007
- 完美世界2016实习生招聘编程题-小萌的包裹
- Poj(1521),哈夫曼编码
- C++实现动态数组
- iOS SQLite 数据库迁移
- telnet: connect to address IP地址: No route to host
- Git学习 <day5>-分支
- javascript的一个小坑
- 萌新的Canvas笔记(三)
- 内嵌的Jetty启动后访问503
- PXE 引导 ESXi 安装
- VMware Workstation虚拟机装GHOST Win7详细高清图文教程(转载)
- eclipse常用设置
- 《新媒体营销圣经:引诱,引诱,引诱,出击!》:美国主要新媒体上的营销策略与实例点评,离中国有点远。2星
- 可以展开的TextView
- 仿京东金融选择金钱刻度尺效果
- leetcode刷题,总结,记录,备忘 350