Skip to content

Instantly share code, notes, and snippets.

@Aracem
Created July 21, 2014 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Aracem/8f973e84f76234eba160 to your computer and use it in GitHub Desktop.
Save Aracem/8f973e84f76234eba160 to your computer and use it in GitHub Desktop.
Open an Activity growing from a View
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