Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mass vector assets import Android Studio

Is there a way to import many vector svg images into project? Importing 30+ icons is kind of boring and rather stupid. Which script is Android Studio using to convert svgs?

like image 376
Konstantin Berkov Avatar asked Nov 11 '15 21:11

Konstantin Berkov


People also ask

Does Android studio support SVG?

Android Studio includes a tool called Vector Asset Studio that helps you add material icons and import Scalable Vector Graphic (SVG) and Adobe Photoshop Document (PSD) files into your project as vector drawable resources.


Video Answer


2 Answers

This is possible in Android studio now. In the resource manager on the left side. Works great!

enter image description here

like image 176
nilsi Avatar answered Oct 12 '22 06:10

nilsi


Well in case anyone will be interested there are online tool and offline .NET/Mono tool for mass import. The last one is more reliable and flexible. Or we can use shell script.

like image 37
Konstantin Berkov Avatar answered Oct 12 '22 08:10

Konstantin Berkov