ActivitySceneTransitionBasic
UI
com.example.android.activityscenetransitionbasic
21
com.squareup.picasso:picasso:2.4.0
Copyright 2013 Square, Inc.
APACHE2
PUBLISHED
UI
Android
Java
Mobile
INTERMEDIATE
screenshots/icon-web.png
screenshots/1-main.png
screenshots/2-transition.png
screenshots/3-transition.png
screenshots/4-detail.png
android.transition.Transition
android.app.ActivityOptions
This sample shows how to use scene transitions from one Activity to another in Lollipop.
Uses a combination of changeImageTransform and changeBounds to transition a grid of images
to an Activity with a large image and detail text.
Android Lollipop has introduced the ability to transition between activities by using a shared element.
This sample demonstrates how to do this using the theme of your application.
See [Defining Custom Animations][1] for all the details on how to do this.
[1]: https://developer.android.com/training/material/animations.html#Transitions