Android Studio Vector Art For Image
In order to add this functionality in a mobile application android studio includes a tool called the vector asset studio that is used to add some predefined material icons along with your own scalable vector graphic svg and adobe photoshop document psd as vector files in your android application.
Android studio vector art for image. Sometimes i find it useful to create vector drawables by hand in android studio using svg paths. Contrast this with a bitmap where images are built from a series of dots on a grid. Creating simple vector drawables in android studio using vector drawables is often much better than bitmap images for two reasons. A vector image is one built with paths.
Maintaining one xml file can be easier than updating multiple raster graphics at various resolutions. It can be scaled without loss of display quality which means the same file is resized for different screen densities without loss of image quality. The path data connects series of points. This results in smaller apk files and less developer maintenance.
The major advantage of using a vector drawable is image scalability. Android 4 4 api level 20 and lower doesn t support vector drawables.