Android Vector Drawables Importing SVG file as VectorDrawable

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

You can import an SVG file as a VectorDrawable in Android Studio, follow these steps :

"Right-click" on the res folder and select new > Vector Asset.

enter image description here

Select the Local File option and browse to your .svg file. Change the options to your liking and hit next. Done.

enter image description here



Got any Android Question?