Last active
February 23, 2016 01:09
-
-
Save chrisjyoon/c2c751df4a365a9d2b65 to your computer and use it in GitHub Desktop.
start activity with custom animation
This file contains hidden or 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
| // api >= 16 | |
| Intent i = SomeActivity.newIntent(CallerActivity.this, mMember); | |
| Bundle bundle = ActivityOptions.makeCustomAnimation(CallerActivity.this, | |
| R.anim.slide_in_right, | |
| R.anim.slide_out_left).toBundle(); | |
| startActivity(i, bundle); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment