Android 动画
2014-02-25 20:52
405 查看
1.闪烁动画 AlphaAnimation
privatevoid startFlickerAnimation(ImageView img) { final Animation animation = new AlphaAnimation(1f, 0)f; animation.setDuration(500); animation.setInterpolator(new LinearInterpolator()); // do not alter animation rate animation.setRepeatCount(Animation.INFINITE); // Repeat animation infinitely animation.setRepeatMode(Animation.REVERSE); // img.setAnimation(animation); animation.start(); }
相关文章推荐
- Android四大组件简述之BroadcastReceiver
- androidgroup
- 设置android的布局文件的背景颜色为黑色
- 【Android开发那点破事】Android调试安装出现2个或2个以上图标
- android学习日记10--裁剪区域
- 大话无线客户端安全之数据存储安全——Android篇
- Android 百度地图开发(一)--- 申请API Key和在项目中显示百度地图
- 判断Intent服务是否存在
- android环境搭建
- android 源码下载
- android核心分析--转
- android run process
- android卸载应用的进度条
- android最全开发教程总结指南
- Android通话记录CallLog简单摘要
- Android 弹无虚发之第四弹:你应该掌握的Notification(Notification的通知栏常驻、Notification的各种样式、Notification点击无效)
- Ubuntu下Android源码的获取(Android4.4为例)
- android opencv
- Android教程之如何使用自定义字体
- 文章分享:Android四大组件详解