Ich habe eine Animation in einer XML-Datei. Ich wende es auf einem Textview wie folgt aus:Schleifen mit einer XML-Animationsdatei?
Animation anim = AnimationUtils.loadAnimation(this, R.anim.exit_about);
anim.setRepeatMode(Animation.RESTART);
anim.setRepeatCount(Animation.INFINITE);
v.findViewById(R.id.global_about).startAnimation(anim); // v is my view
Dies läuft einmal, auch wenn ich eine Wiederholungszahl gesetzt. Irgendeine Idee?
Ich fand Lösung in eine andere Antwort. Funktioniert bei mir. Prost! https://stackoverflow.com/a/4844448/6049708 –