话不多说,直接上代码//实现图片闪烁效果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);}

更多相关文章

  1. Android(安卓)震动示例--心跳效果
  2. Android(安卓)欢迎界面淡出动画效果(Animation)
  3. Android动画效果学习
  4. 【Android】【基础】获取屏幕宽高
  5. android手势翻页效果【转】
  6. Android设置透明、半透明等效果
  7. Android动画效果 translate、scale、alpha、rotate
  8. android实现图片平铺效果&WebView多点触控实现缩放
  9. android 硬件加速后webview闪烁问题

随机推荐

  1. Android-Google自己的下拉刷新组件SwipeR
  2. 搭建android编程环境 Eclipse+jdk+SDK
  3. Android完全(退出)关闭应用程序
  4. Android 调用J2EE webservice
  5. Android 判断是否在通话中
  6. 修改和制作Android开机Logo(最终版)
  7. Android 各 api 级别与ndk 原生 api对照
  8. Android(安卓)Fragment事件透传
  9. Android Http Get/Post提交请求
  10. Android TableLayout数据列表的回显清空