user1545072
user1545072

Reputation:

What is the best practise to use with default drawables?

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?

Upvotes: 0

Views: 61

Answers (2)

AMerle
AMerle

Reputation: 4354

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

Upvotes: 1

Gabe Sechan
Gabe Sechan

Reputation: 93559

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

Upvotes: 0

Related Questions