N
N
newdancer2016-11-18 12:16:45
Android
newdancer, 2016-11-18 12:16:45

Why don't SVG icons display well?

Why don't SVG icons display well? A number of icons have been added to the project. Simpler ones are displayed correctly. For complex icons on the preview, everything is fine, but on the device some of the textures disappear. All svg are in xml files and are included in the ImageViewfollowing way . Maybe something else needs to be included for the normal display of complex textures android:src="@drawable/icon_line"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mitekgrishkin, 2016-11-19
@mitekgrishkin

Unfortunately, Android does not currently fully support the entire SVG specification. More complex images still have to be converted to png.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question