recolor
Animated.recolor this gradient color.
Parameters
which Color
which color to recolor. 0 for the first color, 1 for the second color.
Deprecated (with error)
Gradient colors cannot be animated in this way. They can be animated separately using the given method.
Replace with
recolor(0, target, type, durationNanos)Content copied to clipboard
Deprecated, see Component.recolor for how to animate gradients.