title: Fragment popBackStack without animation
body: <p>On navigating from one fragment to another which are part of same activity, I am using slide animation.  </p>
  
  <pre><code>WebFragment fragment = WebFragment.newInstance(Globals.TGURL_CREATE_ACTIVITY, "");
  FragmentManager fm = getActivity().getSupportFragmentManager();
  FragmentTransaction transaction = fm.beginTransaction();
  transaction.setCustomAnimations(R.anim.enter_anim, R.anim.exit_anim, R.anim.enter_anim, R.anim.exit_anim);
  transaction.replace(R.id.fragment_activity_layout, fragment);
  transaction.addToBackStack(null);
  transaction.commit();  
  </code></pre>
  
  <p>This code ensures that when I come back to the first fragment, animation is there.<br>
  Well this has been a boon for me so far. But in one specific case it is becoming a curse. The activity is placed on <code>ActionBar</code> tab. When the 2nd (<strong>WebFragment</strong>) is the current one, and I tap the tab and not the back button, I want the first fragment to be displayed without any animation.<br>
  But it has been impossible for me to do this so far as the navigation is inheriting the animation which was earlier given.<br>
  This is what I am doing for going back :  </p>
  
  <pre><code>TabActivity.this.getSupportFragmentManager().popBackStack();
  </code></pre>