title: Sprite animation Android Studio
body: <p><br>
  I created a game in AndroidStudio, where you can move right and left through the buttons. Now I would like to add an animation. I have this image:
  <a href="https://i.stack.imgur.com/DTeWI.png" rel="nofollow noreferrer">image </a>
  <br>
  How do I change the animation when I click the left button and then stop it when no touch the button? <br>
  Is there a guide? Thanks for all.</p>