This is strange, I had the same problem, and then I found out about the setRepeatCount and setRepeatMode functions and implemented them, and then they worked fine for me.
here is my code:
new AnimationUtils(); Animation controller = AnimationUtils.loadAnimation(context, R.anim.flasher); controller.setRepeatCount(-1); controller.setRepeatMode(2); sectionText.startAnimation(controller);
Perhaps try setRepeatCount your setRepeatCount and setRepeatMode ? Maybe something strange is happening from your point of view?
blorgggg
source share