Search code examples
androiddrawable

overwrite drawable in a library


I have a standard app. I need to change some text, settings and graphics per client. This way every client gets the app, customized for their brand.

I want to do this, by making the standard app a library. I can now overwrite text in the string.xml

but when I want to change (for example) the splashscreen.png i get this error:

Error: No resource found that matches the given name (at 'drawable' with value '@drawable/splashscreen.png')

What am I doing wrong? Or is there a better way to tackle this problem?

thanks in advance.


Solution

  • Ok I found the problem. I had my default drawables in the directory "drawable". When I changed the directory name to "drawable-ldpi" everything worked fine.