Material Container Transform Shared Element Callback
A SharedElementCallback to be used for MaterialContainerTransform transitions.
Types
Link copied to clipboard
open class ShapeableViewShapeProvider : MaterialContainerTransformSharedElementCallback.ShapeProvider
A ShapeProvider that provides the view's ShapeAppearanceModel if the view implements the Shapeable interface.
Link copied to clipboard
interface ShapeProvider
Allows providing a ShapeAppearanceModel for the shared element view.
Functions
Link copied to clipboard
Returns whether incoming Activity's sharedElementReenterTransition will be respected.
Link copied to clipboard
Returns whether the incoming window's background should be made transparent during the transition.
Link copied to clipboard
open fun onCaptureSharedElementSnapshot(@NonNull sharedElement: View, @NonNull viewToGlobalMatrix: Matrix, @NonNull screenBounds: RectF): Parcelable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If enabled, the Activity's sharedElementReenterTransition will be respected; otherwise it will be set to null.
Link copied to clipboard
If enabled, the incoming window's background will be made transparent during the transition.