Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FragmentTransaction transaction = getFragmentManager().beginTransaction();
- //transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE);
- transaction.setCustomAnimations(R.anim.slide_in_left, 0, 0, R.anim.slide_out_left);
- transaction.add(R.id.content_frame, tagFragment, "FRAG_TAG");
- transaction.addToBackStack(null);
- // Commit the transaction
- transaction.commit();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement