title: ImageView in HorizontalScrollView has wrong aspect ratio
body: <p>I'm trying to display a photo with so that it fills the display vertically, and is scrollable horizontally. My photos are of arbitrary dimensions, <em>but always in landscape aspect ratio</em>.</p>
  
  <p>I placed an <code>ImageView</code> inside a <code>HorizonalScrollView</code>, and it almost works, except the aspect ratio is off. The <code>ImageView</code> is resized to fit exactly vertically, but the image is horizontally stretched or compressed.</p>
  
  <p><strong>I've tried every combination of values for <code>scaleType</code> and <code>adjustViewBounds</code></strong>, and nothing works.</p>
  
  <p>Can it be done with pure XML or do I have to resize my views in Java?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="match_parent" &gt;
  
      &lt;ImageView
          android:id="@+id/image_photo"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:adjustViewBounds="true"
          android:scaleType="fitXY"
          android:src="@drawable/panoramic_1" /&gt;
  
  &lt;/HorizontalScrollView&gt;
  </code></pre>
  
  <p>Thanks in advance...</p>