Skip to content Skip to sidebar Skip to footer

Xlarge Vs Sw720dp Screen Size Confusion

For reference: http://developer.android.com/guide/practices/screens_support.html The old style size quantifiers are 'deprecated': A set of four generalized sizes: small, normal,

Solution 1:

From my understanding, for Android 3.2+, if you have at least one folder that uses the new size quantifiers then it assumes that you are using these new size quantifiers everywhere. So this is the reason why it ignores layout-xlarge or any other folder that uses the old quantifiers.

With regard to backward compatibility, you'll have to use in your project both types of quantifiers. The old ones will be used for API < 3.2 and the new ones for API >= 3.2. To avoid duplication, for the layouts you can use aliases. However, for drawables, I don't know of any solution to avoid duplication.

Post a Comment for "Xlarge Vs Sw720dp Screen Size Confusion"