title: Android Animation in ImageView is stretched vertically
body: <p>Everything looks perfect when I use the ImageView to show a png image like this: </p>
  
  <pre><code>&lt;ImageView 
       android:layout_width="fill_parent" 
       android:layout_height="wrap_content" 
       android:id="@+id/png_picture"
       android:src="@drawable/paos_connection"/&gt;
  </code></pre>
  
  <p>The image is scaled perfectly, fills the screen horizontally and has the correct aspect ratio. </p>
  
  <p>Now, I want to replace the image with an animation. I decided on using Frame Animation as shown here: <a href="http://developer.android.com/guide/topics/graphics/view-animation.html" rel="nofollow noreferrer">http://developer.android.com/guide/topics/graphics/view-animation.html</a>. I am using the same size png files (slightly modified copies of the original one). </p>
  
  <p>My problem is that the animation is playing and it is filling up the screen horizontally as before, but it is now stretched vertically. I can force it to have the correct height by hard-coding a height: </p>
  
  <pre><code>&lt;ImageView 
       android:layout_width="fill_parent" 
       android:layout_height="210px" 
       android:id="@+id/animation" /&gt;
  </code></pre>
  
  <p>...but obviously this is not a good solution because the image should have the correct aspect ratio on all screen sizes. </p>