This article is all about converting SVG, PSD to XML for using in Android App using Android Studio.

The Tools/Sites like http://inloop.github.io/svg2android/ has been deprecated and recommend to use Android Vector Asset Studio to convert SVG, PSD to XML(Vector Drawables.)

To start Vector Asset Studio:

  1. In Android Studio, open an Android app project.
  2. In the Project window, select the Android view.
  3. Right-click the res folder and select New > Vector Asset.

Some other project views and folders have this menu item as well.

Vector Asset Studio

Now, we can continue with importing the local SVG, PSD and get the XML. And It’s Done!

--

--