Frage

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?

War es hilfreich?

Lösung 2

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

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top