summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hemal Patel <hemalp@google.com> 2016-09-30 19:03:53 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-30 19:03:53 +0000
commitda400e9dd44d002bc7cdc2d97eedeaf3ff30ba33 (patch)
tree8f5153afa0d597af0863e7f888b74886fe628744
parent69f203705bfa6f05ca1ea9f20120c09c128df72b (diff)
parentbfa9663e97e0e13c52264e884efc32c75338c64b (diff)
Docs: Added info about vector drawable am: 47876e79de
am: bfa9663e97 Change-Id: I5649e6f9f0e6254d43e7229ef3e88b40351b14e5
-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 3aca867c0347..c2e302e184c9 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