summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hemal Patel <hemalp@google.com> 2016-09-30 18:59:09 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-30 18:59:09 +0000
commitbfa9663e97e0e13c52264e884efc32c75338c64b (patch)
treedf34f3b6147dae243a296538e0c00f3e64061d86
parentd65fc69f4e77be43e96cb3215f36aa7a4b191b3c (diff)
parent47876e79de8c4a05b054a12fc2045910326788cd (diff)
Docs: Added info about vector drawable
am: 47876e79de Change-Id: I73d39d61210064e9de4ec212fac51a43e7a791ae
-rw-r--r--graphics/java/android/graphics/drawable/Drawable.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java
index 7f3a4373639b..31019ce5e070 100644
--- a/graphics/java/android/graphics/drawable/Drawable.java
+++ b/graphics/java/android/graphics/drawable/Drawable.java
@@ -109,6 +109,9 @@ import java.util.Collection;
* <li> <b>Nine Patch</b>: an extension to the PNG format allows it to
* specify information about how to stretch it and place things inside of
* it.
+ * <li><b>Vector</b>: a drawable defined in an XML file as a set of points,
+ * lines, and curves along with its associated color information. This type
+ * of drawable can be scaled without loss of display quality.
* <li> <b>Shape</b>: contains simple drawing commands instead of a raw
* bitmap, allowing it to resize better in some cases.
* <li> <b>Layers</b>: a compound drawable, which draws multiple underlying