title: setCustomAnimations pop animation not working in ListView
body: <p>I have 2 fragments like the following <a href="http://developer.android.com/training/animation/cardflip.html" rel="nofollow">example</a>  .</p>
  
  <p>One of my fragments contains a ListView.
  When the list is small 2-3 items the  pop animations work great <code>R.animator.card_flip_left_in, R.animator.card_flip_left_out</code> .</p>
  
  <p>However, when the list starts growing and getting big the animation doesnt work and you just see the fragments change its view.</p>
  
  <p>I tried setting the adapter in OnCreateView and OnResume with no success...
  What am I missing here?</p>
  
  <p>OnCreate FragmentActivity</p>
  
  <pre><code>  if (savedInstanceState == null) {
          // If there is no saved instance state, add a fragment representing the
          // front of the card to this activity. If there is saved instance state,
          // this fragment will have already been added to the activity.
          getFragmentManager()
                  .beginTransaction()
                  .add(R.id.container, new ListFragment())
                  .commit();
      } else {
          mShowingBack = (getFragmentManager().getBackStackEntryCount() &gt; 0);
      }
  
      // Monitor back stack changes to ensure the action bar shows the appropriate
      // button (either "photo" or "info").
      getFragmentManager().addOnBackStackChangedListener(this);}
  </code></pre>
  
  <p>FlipCard function</p>
  
  <pre><code> public void flipCard() {
      if (mShowingBack) {
         // getFragmentManager().popBackStack();
          return;
      }
  
      // Flip to the back.
  
      mShowingBack = true;
  
      // Create and commit a new fragment transaction that adds the fragment for the back of
      // the card, uses custom animations, and is part of the fragment manager's back stack.
  
      getFragmentManager()
              .beginTransaction()
              .setCustomAnimations(
                      R.animator.card_flip_right_in, R.animator.card_flip_right_out,
                      R.animator.card_flip_left_in, R.animator.card_flip_left_out)
              .replace(R.id.container, new RegFragemnt())
              .addToBackStack(null)
              .commit();
  
      mHandler.post(new Runnable() {
          @Override
          public void run() {
              invalidateOptionsMenu();
          }
      });
  }
  </code></pre>
  
  <p>card_flip_left_in</p>
  
  <p>
      
      </p>
  
  <pre><code>&lt;!-- Rotate. --&gt;
  &lt;objectAnimator
      android:valueFrom="-180"
      android:valueTo="0"
      android:propertyName="rotationY"
      android:interpolator="@android:interpolator/accelerate_decelerate"
      android:duration="@integer/card_flip_time_full" /&gt;
  
  &lt;!-- Half-way through the rotation (see startOffset), set the alpha to 1. --&gt;
  &lt;objectAnimator
      android:valueFrom="0.0"
      android:valueTo="1.0"
      android:propertyName="alpha"
      android:startOffset="@integer/card_flip_time_half"
      android:duration="1" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>card_flip_left_out</p>
  
  <p>
      
      </p>
  
  <pre><code>&lt;!-- Half-way through the rotation (see startOffset), set the alpha to 0. --&gt;
  &lt;objectAnimator
      android:valueFrom="1.0"
      android:valueTo="0.0"
      android:propertyName="alpha"
      android:startOffset="@integer/card_flip_time_half"
      android:duration="1" /&gt;
  </code></pre>
  
  <p></p>