How to start Animation immediately after onCreate?

前端 未结 7 1622
借酒劲吻你
借酒劲吻你 2020-12-15 06:58

I am following http://developer.android.com/guide/topics/graphics/view-animation.html#frame-animation with minor changes. I have decided to make the animation loop and want

7条回答
  •  自闭症患者
    2020-12-15 07:46

    animation = AnimationUtils.loadAnimation(this, R.anim.push_left_out);
    
    yourobject.startanimation(animation);
    

    This may help

提交回复
热议问题