Chinaunix首页 | 论坛 | 博客
  • 博客访问: 838855
  • 博文数量: 182
  • 博客积分: 1992
  • 博客等级: 上尉
  • 技术积分: 1766
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-18 11:49
文章分类

全部博文(182)

文章存档

2019年(1)

2016年(5)

2015年(29)

2014年(38)

2013年(21)

2012年(36)

2011年(52)

我的朋友

分类: Android平台

2013-02-21 16:59:05

thats a Bug in 2.1, 2.2

A possible workaround could be:

ImageView rocketImage = (ImageView) layout.findViewById(R.id.animation); 

rocketImage.setBackgroundResource(R.drawable.progress_blue_animation);

rocketAnimation = (AnimationDrawable) rocketImage.getBackground(); 

rocketImage.post(new Runnable(){ public void run(){ rocketAnimation.start(); } });

阅读(438) | 评论(0) | 转发(0) |
0

上一篇:ndk current millis

下一篇:publish apk

给主人留下些什么吧!~~