Android onFling method plus animation on ImageView

view story

http://stackoverflow.com – Is there any method that similar to overridePendingTransition method which I can apply it on ImageView? I have an ImageView on my xml layout and I can change the image by left/right swipe. What I need now is to have an animation that similar to overridePendingTransition. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); gd = new GestureDetector(this,this); img = (ImageView) findViewById(R.id.promoContainer); img.setImageResource(R.drawable.red); } public boolean onFling(MotionEvent e1, MotionEvent e2, floa (HowTos)