Z
Z
Zdaart55332020-08-25 14:56:31
android studio
Zdaart5533, 2020-08-25 14:56:31

Why is the image not being added to the Drawable XML?

Why is nothing displayed when trying to add an XML image (Vector Asset added via studio)?
Photo before adding
5f44fc55b3b5d776817695.png
Photo after adding
5f44fc69c9884265580649.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alekseyHunter, 2020-08-28
@alekseyHunter

For such cases, draw a custom drawable.
How do they draw?
Create vector drawing and save as svg. Then through the converter you get vectorDrawable.
Paste the code into a drawable file and you get a normal icon.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question