summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hemal Patel <hemalp@google.com> 2016-09-30 19:09:22 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-30 19:09:22 +0000
commit28529d598994b93bc8740325e2ff8dedf4d2a80f (patch)
tree01bf602067e52e2dbd55ed75009eea703f5d219e
parent4a61fdc057322510fae043d5a2560e14bf38356a (diff)
parentda400e9dd44d002bc7cdc2d97eedeaf3ff30ba33 (diff)
Docs: Added info about vector drawable am: 47876e79de am: bfa9663e97
am: da400e9dd4 Change-Id: I8ae1ba757836f054d844291b3beb69a809610496
-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