Reputation: 24005
Android supports layouts for different screen sizes by suffixing layout folders with a certain screen size (large, sw600 etc). Is this possible to do for styles as well? There is nothing in their documentation that I have found yet, but it seems logical to desire style.xml's that support specific screen sizes.
Upvotes: 0
Views: 129
Reputation: 5077
Yes you can do it.
Create a folder like for example values-sw600dp in the res directory and there you add your style.xml
Upvotes: 0
Reputation: 333
yes its very simple just create values folder with the right suffix , you need EXAMPLE:
values-sw600 values-hdpi
look here at bottom of the page http://developer.android.com/guide/practices/screens_support.html
Upvotes: 1