Issue
I'm wondering if it may be possible to add a white border to a Android Vector Icon (xml format). I've tried to overlap a bigger version of the icon itself, but the result it's not as I was expecting (as you can see in the attached images).
Is there a way to modify the xml to enlarge a bit the vector itself (e.g.: a couple of pixels) and then use two different colours inside of it?
Solution
Try adding this to your path
in the Vector xml
<path ....
android:strokeColor="#FFFFFF" android:strokeWidth="2"
Answered By - Siddhesh Dighe
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.