MLQ
MLQ

Reputation: 13511

Relative "res/values" folder in Android to scale styles based on screen size and resolution?

I wonder if it's possible to have a folder such as res/values-small or res/values-hdpi in the same way that it's possible for the layout folder? I'm thinking about styles that should automatically scale depending on the screen resolution and size.

Or do I simply create a separate style for other resolutions in the same values/style.xml file?

Upvotes: 2

Views: 2467

Answers (1)

Pinser
Pinser

Reputation: 1896

Yes you are right all the names you mentioned are valid. To experiment more with different filenames use ADT. ADT Screen with qualifiers

Upvotes: 2

Related Questions