From 34235c6eded32fa6840db7a0f38e0e2905aff8b0 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Tue, 19 Jul 2011 11:13:38 -0700 Subject: [PATCH] cherrypick Change-Id: Iaada8d42f97786d393743cd7fc3011da1d21f22e docs: resolve issue 5044273 and fix markup error Change-Id: Ic028292245c14cca218ea9ac771f292254577e7c --- docs/html/guide/topics/resources/animation-resource.jd | 4 ++-- .../java/android/graphics/drawable/AnimationDrawable.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/html/guide/topics/resources/animation-resource.jd b/docs/html/guide/topics/resources/animation-resource.jd index 3df669c06eb71..480ca7855f29b 100644 --- a/docs/html/guide/topics/resources/animation-resource.jd +++ b/docs/html/guide/topics/resources/animation-resource.jd @@ -10,8 +10,8 @@ parent.link=available-resources.html
  • Property Animation
  • View Animation
      -
    1. Tween animation
    2. -
    3. Frame animation
    4. +
    5. Tween animation
    6. +
    7. Frame animation
  • diff --git a/graphics/java/android/graphics/drawable/AnimationDrawable.java b/graphics/java/android/graphics/drawable/AnimationDrawable.java index 2220f96d48ce7..7efdc6cf02039 100644 --- a/graphics/java/android/graphics/drawable/AnimationDrawable.java +++ b/graphics/java/android/graphics/drawable/AnimationDrawable.java @@ -33,7 +33,7 @@ import android.util.AttributeSet; *

    * The simplest way to create a frame-by-frame animation is to define the animation in an XML * file, placed in the res/drawable/ folder, and set it as the background to a View object. Then, call - * {@link #run()} to start the animation. + * {@link #start()} to run the animation. *

    * An AnimationDrawable defined in XML consists of a single <animation-list> element, * and a series of nested <item> tags. Each item defines a frame of the animation.