diff options
| author | 2016-09-30 18:51:16 +0000 | |
|---|---|---|
| committer | 2016-09-30 18:51:20 +0000 | |
| commit | a86fbb9c83697fd95ad81f2cf06a84818560bbda (patch) | |
| tree | 930514dfad9ced985b263ca6fec68a60dd7002f9 | |
| parent | 64d0b4510daeb42fd7b2e5c0fb47a0d57f5b229d (diff) | |
| parent | 47876e79de8c4a05b054a12fc2045910326788cd (diff) | |
Merge "Docs: Added info about vector drawable" into nyc-dev
| -rw-r--r-- | graphics/java/android/graphics/drawable/Drawable.java | 3 |
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 |