Domanda

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?

È stato utile?

Soluzione 2

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top