Add API info about Keyframe and PropertyValuesHolder

BUG: 32713413
Test: make -j20 docs
Change-Id: Ib2d11fe16cb470609058d2698b6b00173ae1928b
This commit is contained in:
Doris Liu
2016-12-02 15:23:55 -08:00
parent 33db4b77d5
commit 21b93c1f66
2 changed files with 4 additions and 4 deletions

View File

@@ -38,8 +38,8 @@ import java.lang.ref.WeakReference;
*
* {@sample development/samples/ApiDemos/res/anim/object_animator.xml ObjectAnimatorResources}
*
* <p>When using resource files, it is possible to use {@link PropertyValuesHolder} and
* {@link Keyframe} to create more complex animations. Using PropertyValuesHolders
* <p>Starting from API 23, it is possible to use {@link PropertyValuesHolder} and
* {@link Keyframe} in resource files to create more complex animations. Using PropertyValuesHolders
* allows animators to animate several properties in parallel, as shown in this sample:</p>
*
* {@sample development/samples/ApiDemos/res/anim/object_animator_pvh.xml

View File

@@ -49,8 +49,8 @@ import java.util.HashMap;
*
* {@sample development/samples/ApiDemos/res/anim/animator.xml ValueAnimatorResources}
*
* <p>It is also possible to use a combination of {@link PropertyValuesHolder} and
* {@link Keyframe} resource tags to create a multi-step animation.
* <p>Starting from API 23, it is also possible to use a combination of {@link PropertyValuesHolder}
* and {@link Keyframe} resource tags to create a multi-step animation.
* Note that you can specify explicit fractional values (from 0 to 1) for
* each keyframe to determine when, in the overall duration, the animation should arrive at that
* value. Alternatively, you can leave the fractions off and the keyframes will be equally