What is the use of v11 values ​​and v14 folder values?

I am new to Android app.

Pls explains the following folders and their usage

  • values-sw600dp
  • Values-sw720dp-earth
  • Values-V11
  • Values-V14
+7
android
source share
3 answers

values-sw600dp: The smallest size is 600 dp or higher

values-sw720dp-land: The smallest size is 720 dp or higher, and the terrain

values-v11: version 11 or higher

values-v14: version 14 or higher

Priority is given to best matches.

+7
source share

These are values ​​for specific API levels, 11 and above, and 14 and above in this case. This means that you can easily override specific values ​​in certain versions.

For more information, see the bottom of the table here: http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources

+2
source share

You use the value-v11 and values-v14 folders to configure values ​​(strings, sizes, styles, etc.) for different versions of Android. For example, v11 values ​​target android 11 and above. And you use the other two for the target screen resolution, and in 2 cases - and for a specific orientation.

+2
source share

All Articles