I am new to VectorDrawables
.
I can see that the default vector drawables
provided with android studio like ic_menu_gallery
, ic_menu_camera
, etc. are working great. So I tried to create my own vector drawables
by converting my png images
to svg
first and using the path and fill values to make vector drawables i.e replaced the android:pathData
for d and android:fillColor
for fill tag in svg files. It somehow gave vector drawables but distorted or currputed looking.
If I am not taking the right approach please suggest me.