当前位置:编程学习 > wap >>

android,ViewAdapter中结束动画时,出现残影,谁能给我分析分析?


public View getView(int position, view convertView, ViewGroup parent){
.......
   if(bisStart){
       convertView.findViewById(R.id.item).startAnimation(shake);
         
  }
 else{
    convertView.findViewById(R.id.item).clearAnimation();
    if(shake.hasStarted()){
       shake.cancel();
      }

    }  
   ....
} android --------------------编程问答-------------------- 也许是手机性能的问题,换个手机测试下 --------------------编程问答--------------------
引用 1 楼 MM_zhao 的回复:
也许是手机性能的问题,换个手机测试下

不好意思,没说明白,我是在模拟器里就出现了这个问题,当动画停止时,原来控件位置的上方好像蒙了一层~
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,