android screen size,values-v11,values-v14

LK Yeung picture LK Yeung · Aug 31, 2012 · Viewed 32.5k times · Source

I found several values folders in my res folder:

xlarge screens are at least 960dp x 720dp
large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp  
res/values-normal/ ==    res/values-v11/ ???
res/values-xlarge/ ==   res/values-v14/  ???

Am I right? Or do I need to create another folder called values-xlarge, values-normal?

Answer

xagema picture xagema · Aug 31, 2012

values-v11 is the values of the API version 11, and values-v14 is the values of the API version 14.

It's worth indicating that i.e. values-v11 will be used for API 11 and higher, unless there's another folder that got higher version. For example if you got values-v11 and values-v14 folders, then values-v11 and will be used on APIs 11, 12, 13 but on API 14 and higher, content of values-v14 will be used