Then Implement icon.xml into your manifest as usual even though you WILL not be able to see a preview of it in manifest. NOTE: The group android:scale tags give padding to your You need three drawables, the background, the vector itself and the drawable that combines the two of them together. So from there you can change the shape (to circular may be) or color (amber to blue) to fit your needs.Īfter putting a ton of work and research into this, I have finally come up with a solution. Was made by adjusting your code like this: The logic is to make another path before your own vector drawable path so that it may act as a background (No one will notice the difference!) when added together in a group.įor your case this image ( with an amber background)! ![]() Since there is no direct way to make a background to a VectorDrawable! So the alternative way is to use a group to arrive to the same Appearance ( like a background).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |