title: How can I animate a custom view (ImageView) programmatically?
body: <p>I want to animate a custom view programmatically. I want it to only animate in the position where it is declare in the xml file, and I don't want it to mess the layout. Also this animation is affected by other factor so the android Animation class is out of the question.</p>
  
  <p>I have test this sample <a href="http://obviam.net/index.php/sprite-animation-with-android/" rel="nofollow">tutorial</a> and watch this <a href="http://www.mybringback.com/series/android-basics/" rel="nofollow">videos</a>. My problem is that most tutorial is for animating a sprite into a canvas where you will trace your sprite's location. </p>
  
  <p>How can you animate the custom view without affecting layout and without using the Android Animation class?</p>
  
  <p>Edited:
  The custom view will act as a animated-gif and will toggle another set of frames whenever an event activates it.</p>