title: How to Reverse Fragment Animations on BackStack?
body: <p>I thought the system would reverse animations on the backstack when the back button is pressed when using fragments using the following code:</p>
  
  <pre><code>FragmentManager fm = getFragmentManager();
  FragmentTransaction ft = fm.beginTransaction();
  ft.setCustomAnimations(R.anim.slide_in, R.anim.hyperspace_out);
  ft.replace(R.id.viewContainer, new class(), "layout").addToBackStack(null).commit();
  </code></pre>