From 5ffdda018e56fbc2d4083ef9365548e6605e544a Mon Sep 17 00:00:00 2001 From: Mark Lu Date: Mon, 18 Jul 2016 09:50:26 -0700 Subject: [PATCH] docs: fix typo error in class name Fixes the class name in the code sample Bug: 25072103 Change-Id: I681901502e100b9514f579c46be9ed7a37352426 --- docs/html/guide/topics/graphics/prop-animation.jd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/html/guide/topics/graphics/prop-animation.jd b/docs/html/guide/topics/graphics/prop-animation.jd index aed533de16ca1..2be2b09ffea39 100755 --- a/docs/html/guide/topics/graphics/prop-animation.jd +++ b/docs/html/guide/topics/graphics/prop-animation.jd @@ -165,9 +165,9 @@ page.tags=valueanimator,objectanimator,layouttransition,ViewPropertyAnimator "{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/animation/index.html">API Demos sample project provides many examples on how to use the property animation system.

- +

How Property Animation Differs from View Animation

- +

The view animation system provides the capability to only animate {@link android.view.View} objects, so if you wanted to animate non-{@link android.view.View} objects, you have to implement your own code to do so. The view animation system is also constrained in the fact that it only @@ -594,7 +594,7 @@ implementations of the methods that you can choose to override.

for just the {@link android.animation.Animator.AnimatorListener#onAnimationEnd onAnimationEnd()} callback:

-ValueAnimatorAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f);
+ValueAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f);
 fadeAnim.setDuration(250);
 fadeAnim.addListener(new AnimatorListenerAdapter() {
 public void onAnimationEnd(Animator animation) {