customAnimation when calling popBackStack on a FragmentManager
问题 In my activity, with the touch of a button, I replace the current fragment with a new fragment using a custom animation, like in this example. @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle presses on the action bar items switch (item.getItemId()) { case R.id.action_anomalie: Fragment contentFragment = getFragmentManager().findFragmentById(R.id.content); if(contentFragment instanceof AnomalieListFragment) { getFragmentManager().popBackStack(); return true; } else {