No se si te funcionará pero prueba con esto, si quieres volver anirmar el boton vuelve a lanzarlo y te deberia de estar animado... pero no se si te funcionará.
Prueba primero este.
Código:
Button b1 = (Button) find.....;
AnimationDrawable frame = (AnimationDrawable) b1.getBackground();
frame.stop();
frame.start();
Si no funciona intenta con esté, hace tiempo no me funcionaba de la primera forma y aunque es una tontería ya que para y arranca esté como esté me lo había arreglado.
Código:
Button b1 = (Button) find.....;
AnimationDrawable frame = (AnimationDrawable) b1.getBackground();
if (frame.isRunning()) {
frame.stop();
frame.start();
} else {
frame.stop();
frame.start();
}
PD- La animación debe de estar en un animation-list