You don't need to copy.  Resources that have no configuration specified are
the last resort fallback; when looking for a resource, the system first
tries to find one that has most matching the current config, and will fall
back on more and more general resources until one is found.

On Tue, Mar 24, 2009 at 3:50 PM, Gaurav <gau...@silkenmermaid.com> wrote:

>
> While using alternate resources do we need to copy those resources
> that are not different for different configurations as well.
>
> For example:
>
> My application has two different layouts a.xml and b.xml. Only b.xml
> is different for landscape mode, a.xml works for all modes. Is it
> sufficient to have res/layout contain a.xml and b.xml and res/layout-
> land have b.xml only, or I should copy a.xml to res/layout-land as
> well?
>
> I have checked that only adding the specific layout is fine. Can
> someone confirm that.
>
> -Gaurav
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to