"The framework now correctly selects application resources in project folders that use the API Level qualifier. For example, drawable-v4/ is a folder of drawable resources for API Level 4 (or higher) devices. This version matching did not work properly and has been fixed."
Did anyone realise this breaks all backwards compatibility on this qualifier? It's the inverse of how it currently works and makes it a terrible pain to now support 1.5 to 2.0.1 For someone to selectively target a single sdk that is not the most current but support the sdks on other side of it, they now always have to create layout/, layout-vX/, layout-vX+1/, with vX+1/ being nothing but a duplication of resources in layout/, that are in both layout/ and vX/ If they wanted to selectively target two sdks, they have to create layout/, layout-vX/, layout-vY/ AND layout-vY+1 again duplicating resources now against layout/, vX and vY/ etc While the old method, layout/ is simply your default catch all and you single out specific sdks for specific resources with a simple layout- vX. I don't understand why this was ever classified as a bug, can someone please explain the opposing logic to this. I would assume the purpose of a API Level qualifier would be to selectively access specific sdks, yet this change is the direct opposite of this usefulness, would it not have been far more appropriate to keep the previous method in tact but simply expand the functionality of the API Level qualifier to accept ranges? On Dec 4, 10:38 am, Jason Chen <[email protected]> wrote: > Hey, folks. > > Earlier today, we released updates to several different components in > the Android SDK. Xav announced these updates via the Android > Developers > blog:http://android-developers.blogspot.com/2009/12/android-sdk-updates.html. > If you want to follow the blog via Twitter, you can now do so > viahttp://twitter.com/androiddev. > > In addition to the new tools and platforms, there's one other > important change that I wanted to point out. We've added additional > clarification to the docs about android:maxSdkVersion and what effects > it might have on your app if you use it. You can see these details > here:http://developer.android.com/guide/topics/manifest/uses-sdk-element.h... > > Best, > > -Jason -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

