Question

Having a specialized folder for default drawable ("drawable" with no screen size extension) would be more intuitive and self explanatory, making it easier to locate files. But will it cause logical errors in runtime? What is the convention here? do most developers put default drawables in one of the screen-size-specific folders (and if so, which one?) or do most developers create a non-specific "drawable" folder?

Était-ce utile?

La solution 2

It doesn't cause problems. Android looks in the "drawable" folder first, and then looks at any other folder as an override.

Autres conseils

In fact you should put it in drawable-nodpi as explained Here

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top