fragmentTransaction.setCustomAnimations(
R.anim.push_right_in,
R.anim.push_right_out,
R.anim.push_right_out);
fragment
原文:http://my.oschina.net/yolinfeng/blog/500971