Last active
September 7, 2016 07:29
-
-
Save truongngoclinh/171abf3ac0c31a363b29 to your computer and use it in GitHub Desktop.
Fragment transaction animation when replace, pop backstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// put animation on anim folder | |
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); | |
transaction.setCustomAnimations(R.anim.enter_to_left, R.anim.exit_left, R.anim.enter_to_right, R.anim.exit_right); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment