title: Animation not triggering after press on ImageView, but working fine after press on TextView
body: <p>In an Activity I have three Views (among others): a TextView, an ImageView, and a LinearLayout--the latter I call <code>controlsView</code>. There is a method (call it <code>toggleControls()</code> to toggle the visibility of <code>controlsView</code> with an animation.  The animation is fairly simple and is created each time the method is called, like this:</p>
  
  <pre><code>private void toggleControls () {
      if (controlsView.getAnimation () != null) {
          return; // already animating
      }
      if (controlsView.getVisibility () == View.GONE) {
          Animation animation = new ScaleAnimation (1, 1, 0, 1);
          animation.setAnimationListener (new AnimationListener () {
              public void onAnimationEnd (Animation animation) { controlsView.setAnimation (null); }
              public void onAnimationRepeat (Animation animation) {}
              public void onAnimationStart (Animation animation) { controlsView.setVisibility (View.VISIBLE); }
          });
          animation.setDuration (500);
          controlsView.setAnimation (animation);
          animation.startNow ();
      } else {
          // hide
          Animation animation = new ScaleAnimation (1, 1, 1, 0);
          animation.setAnimationListener (new AnimationListener () {
              public void onAnimationEnd (Animation animation) { controlsView.setAnimation (null); controlsView.setVisibility (View.GONE); }
              public void onAnimationRepeat (Animation animation) {}
              public void onAnimationStart (Animation animation) {}
          });
          animation.setDuration (500);
          controlsView.setAnimation (animation);
          animation.startNow ();
      }
  }
  </code></pre>
  
  <p>This seems to work fine when called after a touch on the TextView, but when I call it after a touch on the ImageView, I never see the animation play.  Instead, the state of the view (as displayed) does not change... until I touch somewhere on the screen, at which point the <code>controlsView</code> will all-at-once appear or disappear.  (This is BTW on a Xoom tablet running Android 3.0.1.)</p>
  
  <p>For completeness' sake, the mildly-simplified XML for the Views which are clicked:</p>
  
  <pre><code>&lt;TextView android:id="@+id/first"
      android:layout_width="match_parent" android:layout_height="wrap_content"
      android:onClick="pressedFirst" android:clickable="true"
      android:text="xxxxxxxxxxxxxxxxxxxxxx"&gt;&lt;/TextView&gt;
  &lt;ImageView android:id="@+id/second"
      android:layout_width="match_parent" android:layout_height="wrap_content" 
      android:onClick="pressedSecond" android:clickable="true"
      android:src="@drawable/something"&gt;&lt;/ImageView&gt;
  </code></pre>
  
  <p>...and for the controlsView:</p>
  
  <pre><code>&lt;LinearLayout android:id="@+id/controls"
      android:layout_width="match_parent" android:layout_height="wrap_content"
      android:visibility="visible" android:orientation="horizontal"&gt;
  
      &lt;Button android:id="@+id/importantButton"
          android:layout_width="wrap_content" android:layout_height="wrap_content"
          android:onClick="pressedFilterButton" android:text="Important"&gt;&lt;/Button&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The functions referenced in the above XML merely call the <code>toggleControls()</code> method.</p>
  
  <p>I suspect I'm misunderstanding something fundamental here.  Would someone toss me a clue please?</p>