Created
July 21, 2014 09:28
-
-
Save Aracem/8f973e84f76234eba160 to your computer and use it in GitHub Desktop.
Open an Activity growing from a View
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
if (SupportVersion.JellyBean()) { | |
ActivityOptions options = ActivityOptions.makeScaleUpAnimation(view, 0, | |
0, view.getWidth(), view.getHeight()); | |
startActivity(coverFlowIntent, options.toBundle()); | |
} else { | |
startActivity(coverFlowIntent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment