Issue
I designed a logo on Adobe Illustrator. After exporting it as SVG I tried to create an XML file using Android Studio to use but Android Studio says that this file can't be used.
Should I use specific options like using RGB colors only or what?
Thanks
Solution
You need to import the svg file by following this steps :
- In the project Right click on the drawable directory
- Go to New ⇒ Vector Asset
- Click on the radio button saying “Local File (SVG, PSD)”
- Click on the browse icon and navigate to your SVG or PSD file to select it
- Finally click Next ⇒ Finish.
then you will see the code generated from svg in the drawable directory
Answered By - anehme
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.