Home android SVG in Android application

SVG in Android application




App_logo.svg file in Drawable is placed, but the image is not displayed in the application and Android Studio line Android: src = “@ drawable / app_logo” red does not highlight.

What is the problem?

Answer 1, Authority 100%

SVG and PSD files need to be added to Vector Asset Studio, which converts them to XML file. In Android Studio, right-click on the RES folder, and choose: “New & GT; vector Asset”. Further choose “Local File”. Further simply specify the name, click Nex. Details here: https://developer.android.com/studio/write / Vector-Asset-Studio # Importing

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions