public class Recolor
extends Transition
background
property of its target views (when the background is a
ColorDrawable, as well as the
color of the text for target TextViews. If the color changes between
scenes, the color change is animated.| Modifier and Type | Field and Description |
|---|---|
static android.util.Property<android.graphics.drawable.ColorDrawable,java.lang.Integer> |
COLORDRAWABLE_COLOR |
static android.util.Property<android.widget.TextView,java.lang.Integer> |
TEXTVIEW_TEXT_COLOR |
| Constructor and Description |
|---|
Recolor() |
Recolor(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
captureEndValues(TransitionValues transitionValues) |
void |
captureStartValues(TransitionValues transitionValues) |
android.animation.Animator |
createAnimator(android.view.ViewGroup sceneRoot,
TransitionValues startValues,
TransitionValues endValues) |
public static final android.util.Property<android.widget.TextView,java.lang.Integer> TEXTVIEW_TEXT_COLOR
public static final android.util.Property<android.graphics.drawable.ColorDrawable,java.lang.Integer> COLORDRAWABLE_COLOR
public Recolor()
public Recolor(android.content.Context context,
android.util.AttributeSet attrs)
public void captureStartValues(TransitionValues transitionValues)
public void captureEndValues(TransitionValues transitionValues)
public android.animation.Animator createAnimator(android.view.ViewGroup sceneRoot,
TransitionValues startValues,
TransitionValues endValues)