Вопрос

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?

Это было полезно?

Решение 2

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

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top