title: Animations: How should I translate an ImageView out of/into visibility on the screen
body: <p>I am using a <code>translate</code> animation:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set
    xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;translate
      android:fromXDelta="-75%p"
      android:toXDelta="0%p"
      android:duration="1000" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>on a basic <code>ImageView</code>.  This animation will slide the image out from the left until it reaches the right edge of the screen.  I have an <code>OnClickListener</code> set on the <code>ImageView</code> which toggles it from sliding out and in - works great.</p>
  
  <p>Problem: It seems that the <code>ImageView</code> is not <em>actually</em> moving it's coordinates, but it just <em>looks</em> like it's moving.  When the <code>ImageView</code> is only partly visible(waiting to be animated out into the screen), if I click on an area where the <code>ImageView</code> would be if it were slid out, the animation starts(<code>OnClickListener</code> is fired off).</p>
  
  <p>I wasn't clicking on the <code>ImageView</code>!</p>
  
  <p>Question:
  So, components with an animation such as this do not actually move?
  How can I handle this onClick event, as it would be unexpected for an animation to occur when pressing on the screen where the <code>ImageView</code> is not visible to the user?</p>