ImageView动画
2016-03-15 17:53
323 查看
private void setFlickerAnimation(ImageView iv_chat_head) { final Animation animation = new AlphaAnimation(1, 0); // Change alpha from fully visible to invisible animation.setDuration(500); // duration - half a second animation.setInterpolator(new LinearInterpolator()); // do not alter animation rate animation.setRepeatCount(Animation.INFINITE); // Repeat animation infinitely animation.setRepeatMode(Animation.REVERSE); // iv_chat_head.setAnimation(animation); }
相关文章推荐
- Linux 之 我最常用的20条命令
- MyEclipse下Tomcat启动变慢 解决方法
- 基于Selenium2和TestNG的自动化测试
- “树懒”用超表也能快如闪电|微商案例
- android各种效果开源项目
- Linux下压缩某个文件夹(文件夹打包)
- 嵌入式串口
- python线程、协程
- SVG(可缩放矢量图形)
- 购物车中的观察者模式的应用
- linux rz: command not found解决方法
- HDU2089 数位DP
- python基础一
- A1112. Stucked Keyboard (20)
- java动态代理(JDK和cglib)
- ACM_模板_线段树
- Python自定义函数排序
- 大型网站架构系列:分布式消息队列(一)
- poj 1017 Packets
- cell的下划线对齐显示