title: Android Fragment Shared Elements not working with "add"
body: <p>I've been trying to make the Transition Animations work with Fragments, what I find weird (or maybe I'm not understanding something right) is that when using <code>replace</code> it works as expected, but when using <code>add</code> it doesn't...</p>
  
  <p>WORKS:</p>
  
  <pre><code>EndFragment fragment = new EndFragment();
  FragmentManager fragmentManager = getFragmentManager();
  fragmentManager.beginTransaction()
          .addToBackStack(null)
          .addSharedElement(imageView, imageTransitionName)
          .addSharedElement(textView, textTransitionName)
          .replace(R.id.container, fragment)
          .commit();
  </code></pre>
  
  <p>DOESN'T WORK:</p>
  
  <pre><code>EndFragment fragment = new EndFragment();
  FragmentManager fragmentManager = getFragmentManager();
  fragmentManager.beginTransaction()
          .addToBackStack(null)
          .addSharedElement(imageView, imageTransitionName)
          .addSharedElement(textView, textTransitionName)
          .add(R.id.container, fragment)
          .commit();
  </code></pre>
  
  <p>Any ideas?</p>