title: How can I tell when the animateLayoutChanges has completed?
body: <p>I'm taking advantage of the automated (built-in) animation of LinearLayout by adding <code>animateLayoutChanges</code> to the XML.</p>
  
  <p>That works nicely.</p>
  
  <p>However, when I attach on <code>Animation.AnimationListener</code> to that LinearLayout it never fires. So, I'm confused as to what listener I should be attaching and maybe what I should be attaching it to, in order to find out when a given transitional animation has completed.</p>
  
  <p>So.. what I have is this:</p>
  
  <pre><code>       LinearLayout productsList = (LinearLayout)findViewById(R.id.pList);
  
         productsList.setLayoutAnimationListener(new Animation.AnimationListener() {
          @Override
          public void onAnimationStart(Animation animation) {
              Log.d(TAG, "animation started");
          }
  
          @Override
          public void onAnimationEnd(Animation animation) {
              Log.d(TAG, "animation ended");
          }
  
          @Override
          public void onAnimationRepeat(Animation animation) {
              Log.d(TAG, "animation repeated");
          }
      });
  </code></pre>
  
  <p>The animation plays as expected but none of my Logs are ever written.</p>
  
  <p>Do I have to append my own custom animation to the layout for this to work, or am I missing something obvious?</p>