Rename RGBEvaluator to ArgbEvaluator

Change-Id: I43cf6c9824b012424de1ef2a340ee9dde20af4a7
This commit is contained in:
Chet Haase
2011-01-10 16:48:48 -08:00
parent 5cb35294ed
commit 6e27f5856a

View File

@@ -69,7 +69,7 @@ public class BouncingBalls extends Activity {
// every frame of the animation.
ValueAnimator colorAnim = ObjectAnimator.ofInt(this, "backgroundColor", RED, BLUE);
colorAnim.setDuration(3000);
colorAnim.setEvaluator(new RGBEvaluator());
colorAnim.setEvaluator(new ArgbEvaluator());
colorAnim.setRepeatCount(ValueAnimator.INFINITE);
colorAnim.setRepeatMode(ValueAnimator.REVERSE);
colorAnim.start();