How to convert SVG images to Android vector drawable XML resource files?
- Open this page.
- Drag and drop your SVG files onto the page. Wait until conversion to Android vector drawables completes.
- Save ZIP archive with XML resource files or download each file separately.
- Unpack the archive and place the XML files into the res/drawable directory of your app.
- Reference to them in XML / Java / Kotlin code as you would do with ordinary drawables.