title: Animate ImageView width without scaling
body: <p>I'm trying to animate an ImageView so it's slowly shown from left to right. 
  When <a href="https://stackoverflow.com/questions/13012284/animation-to-show-imageview-from-left-to-right">I asked this before</a> I was having trouble to explain what I wanted, so this time I created the desired effect using HTML / JS:</p>
  
  <p><a href="http://jsfiddle.net/E2uDE/" rel="nofollow noreferrer">http://jsfiddle.net/E2uDE/</a></p>
  
  <p>What would be the best way to get this effect in Android?</p>
  
  <p>I tried changing the scaleType and then applying a ScaleAnimation directly to that ImageView:</p>
  
  <p><strong>Layout:</strong></p>
  
  <pre><code>&lt;ImageView
      android:id="@+id/graphImage"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true"
      android:scaleType="centerCrop"
      android:background="@android:color/transparent"
      android:contentDescription="@string/stroom_grafiek"
      /&gt;
  </code></pre>
  
  <p><strong>Java:</strong></p>
  
  <pre><code>scale = new ScaleAnimation((float)0,
          (float)1, (float)1, (float)1,
          Animation.RELATIVE_TO_SELF, (float)0,
          Animation.RELATIVE_TO_SELF, (float)1);
  scale.setDuration(1000);
  
  graphImage.startAnimation(scale);
  </code></pre>
  
  <p>But this stil scales the image.</p>
  
  <p>I also tried wrapping the ImageView in a FrameLayout, hoping I could just animate the FrameLayout:</p>
  
  <pre><code>&lt;FrameLayout
      android:layout_width="70dp"
      android:layout_height="fill_parent"
      android:clipChildren="true""&gt;
      &lt;ImageView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|left|clip_horizontal" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>This will still try to scale my ImageView to fit inside the FrameLayout.</p>