Home | History | Annotate | Download | only in material

Lines Matching full:vector

11   <li><a href="#VectorDrawables">Create Vector Drawables</a></li>
26 <li>Vector drawables</li>
84 <h2 id="VectorDrawables">Create Vector Drawables</h2>
86 <p>In Android 5.0 (API Level 21) and above, you can define vector drawables, which scale without
87 losing definition. You need only one asset file for a vector image, as opposed to an asset file for
88 each screen density in the case of bitmap images. To create a vector image, you define the details
89 of the shape inside a <code>&lt;vector&gt;</code> XML element.</p>
91 <p>The following example defines a vector image with the shape of a heart:</p>
95 &lt;vector xmlns:android="http://schemas.android.com/apk/res/android"
112 &lt;/vector>
115 <p>Vector images are represented in Android as {@link android.graphics.drawable.VectorDrawable}
118 about animating the properties of vector drawables, see
119 <a href="{@docRoot}training/material/animations.html#AnimVector">Animating Vector Drawables</a>.</p>