added in version 26.1.0
belongs to Maven artifact com.android.support:transition:28.0.0-alpha1

ChangeImageTransform

public class ChangeImageTransform
extends Transition

java.lang.Object
   ↳ android.support.transition.Transition
     ↳ android.support.transition.ChangeImageTransform


This Transition captures an ImageView's matrix before and after the scene change and animates it during the transition.

In combination with ChangeBounds, ChangeImageTransform allows ImageViews that change size, shape, or ImageView.ScaleType to animate contents smoothly.

Summary

Inherited constants

From class android.support.transition.Transition

Public constructors

ChangeImageTransform()
ChangeImageTransform(Context context, AttributeSet attrs)

Public methods

void captureEndValues(TransitionValues transitionValues)

Captures the values in the end scene for the properties that this transition monitors.

void captureStartValues(TransitionValues transitionValues)

Captures the values in the start scene for the properties that this transition monitors.

Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, TransitionValues endValues)

Creates an Animator for ImageViews moving, changing dimensions, and/or changing ImageView.ScaleType.

String[] getTransitionProperties()

Returns the set of property names used stored in the TransitionValues object passed into captureStartValues(TransitionValues) that this transition cares about for the purposes of canceling overlapping animations.

Inherited methods

From class android.support.transition.Transition
From class java.lang.Object

Public constructors

ChangeImageTransform

added in version 26.1.0
ChangeImageTransform ()

ChangeImageTransform

added in version 26.1.0
ChangeImageTransform (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

Public methods

captureEndValues

added in version 26.1.0
void