From 47876e79de8c4a05b054a12fc2045910326788cd Mon Sep 17 00:00:00 2001 From: Hemal Patel Date: Fri, 16 Sep 2016 14:03:06 -0700 Subject: [PATCH] Docs: Added info about vector drawable Added overview of vector drawable in the class overview section. Bug: 25129687 Change-Id: I976177ddd3a8bddcbc6544cbc227b6b2099c7b0a --- graphics/java/android/graphics/drawable/Drawable.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java index 7f3a4373639b7..31019ce5e0704 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; *
  • Nine Patch: an extension to the PNG format allows it to * specify information about how to stretch it and place things inside of * it. + *
  • Vector: 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. *
  • Shape: contains simple drawing commands instead of a raw * bitmap, allowing it to resize better in some cases. *
  • Layers: a compound drawable, which draws multiple underlying