U
U
UxName2016-09-02 12:32:47
Android
UxName, 2016-09-02 12:32:47

How to add shadow in android vector drawable?

How to add a shadow to a drawable vector file in Android? The shadow must be added to a specific path element.
The element can be non-standard (not round, and not square) shape.
The shadow should be exactly a shadow, that is, gradually fade around the edges, and not the bottom layer of black with a transparency of 20%.
An example of what the image should look like after adding it to activity.xml:
da01b988edb9403aa4ce607acf668c64.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question