From c3fdffa98136bdad1fee9c77598d541d792920e1 Mon Sep 17 00:00:00 2001 From: ztenghui Date: Mon, 29 Sep 2014 13:19:00 -0700 Subject: Correct the documentation for VectorDrawable We missed the alpha for the vector drawable root level in the documentation. And the animation target can be vector drawable itself for the alpha value, which is more than path and group object. b/17696183 Change-Id: Ic9d441fbdf411dad92718ae5adbc6655fe708453 --- graphics/java/android/graphics/drawable/VectorDrawable.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'graphics/java/android') diff --git a/graphics/java/android/graphics/drawable/VectorDrawable.java b/graphics/java/android/graphics/drawable/VectorDrawable.java index 8014837..4c83e55 100644 --- a/graphics/java/android/graphics/drawable/VectorDrawable.java +++ b/graphics/java/android/graphics/drawable/VectorDrawable.java @@ -57,6 +57,8 @@ import java.util.Stack; *
*
Used to defined a vector drawable *
+ *
android:name
+ *
Defines the name of this vector drawable.
*
android:width
*
Used to defined the intrinsic width of the drawable. * This support all the dimension units, normally specified with dp.
@@ -76,6 +78,8 @@ import java.util.Stack; *
android:autoMirrored
*
Indicates if the drawable needs to be mirrored when its layout direction is * RTL (right-to-left).
+ *
android:alpha
+ *
The opacity of this drawable.
*
*
* @@ -85,6 +89,8 @@ import java.util.Stack; * The transformations are defined in the same coordinates as the viewport. * And the transformations are applied in the order of scale, rotate then translate. *
+ *
android:name
+ *
Defines the name of the group.
*
android:rotation
*
The degrees of rotation of the group.
*
android:pivotX
-- cgit v1.1