Skip to content Skip to sidebar Skip to footer

Start AnimationDrawable At Specific Frame?

I got an AnimationDrawable like so: AnimationDrawable ani = new AnimationDrawable(); ani.addFrame(first, duration); ani.addFrame(second, duration);

Solution 1:

When animtaion stop,use this method : ani.selectDrawable(index);


Post a Comment for "Start AnimationDrawable At Specific Frame?"