From the course: Android Development Essential Training: 2 User Interface Design

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Use XML-based VectorDrawable images

Use XML-based VectorDrawable images - Android Tutorial

From the course: Android Development Essential Training: 2 User Interface Design

Start my 1-month free trial

Use XML-based VectorDrawable images

- [Instructor] A vector drawable is a vector graphic defined in an XML file. The file contains a set of points, lines and curves along with the desired colors used to create an image. Vector drawables were officially supported with the release of Android 5.0. However, you can use the support library to incorporate vector drawables in older versions of Android. Vector drawables can be generated using Google Material design icons, as well as your own Adobe Photoshop document files and scalable vector graphics or SVGs. Keep in mind however, that vector drawables only support the essential standards for SVG and PSD files. You may encounter errors attempting to import your assets if they contain features that are not currently supported. With this in mind you might be wondering, why should I use vector drawables anyway? Well there are few notable advantages to using them in your apps. The major advantage is image scalability,…

Contents