On Thu, Dec 3, 2009 at 10:35 PM, adamphillips12 <[email protected]>wrote:
> "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 > No it doesn't. > 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/ > No, it fixes this bug that was in 2.0. > 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 think you are misunderstanding the change. The change is to make it work how it was actually documented, and not the horribly broken way it was before. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

