Wednesday, December 26, 2012

Re: [android-developers] resource identifier not found

On Wed, Dec 26, 2012 at 8:02 AM, dashman <erjdriver@gmail.com> wrote:
> but if i put it in a folder named layout-v12 - shouldn't that take care of
> it.

No. That says that *at runtime* only use this resource on API Level 12
and higher. However, the resource *compiler* at compile time also
needs to be thinking API Level 12 and up.

> i'd like my program to be compatible back to android v1.6.

Your choice of build target does not affect backwards compatibility.
Backwards compatibility is determined by <uses-sdk> and what you use
at runtime.

http://www.slideshare.net/commonsguy/backwards-compatibility-strategies-and-tactics

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Aqui estão alguns sites onde você pode perguntar ou responder dúvidas
sobre desenvolvimento de aplicações para Android:
http://www.andglobe.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment