0

I'm developing an Android app and storing all the relevant files in a git repository.

Now, I created an icon in SVG and exported it into several PNG. As usual, I placed the PNG in the relevant res/drawable directories.

The question is where should I store the SVG? It should not be contained in the resulting apk (therefore it's not an asset).

I'm thinking about a folder named media that would contain SVGs and possibly other outputs. Like:

media/
media/res/drawables/
    ic_launcher.svg
media/apk/
    app-1.0.apk    (signed apks)
    app-1.1.apk
media/screenshot/
    screen1.png    (screenshots published in a store)
    screen2.png

Is this a correct approach?

Where exactly should the media folder be located? What is the usual naming convention?

Damian Kozlak
  • 7,065
  • 10
  • 45
  • 51

0 Answers0