title: how to Set Android animation on setting new Image Resource
body: <p>I have an ImageView in my layout. After clicking a button. I am doing this</p>
  
  <pre><code>Image=(ImageView)rootView.findViewById("Imagetag");
  Image.setImageResource(R.drawable.image2);
  </code></pre>
  
  <p>While I am switching from Image1 to Image2. I want to have an animation to be performed. Anything will do.. Cardflip.FadeIn/Fadeout.</p>