Android will choose the layout from the directory that matches your device
the most. The best you can do is simply try in the emulator to see what
happens when you have an xlarge configuration :)

On Sun, Mar 6, 2011 at 2:09 PM, Stephan Roorda <[email protected]> wrote:

> OK that makes sense, but now that I read your response I don't think I
> explained myself well.
>
> I am going to create a whole new layout for tablets (extra fields, larger
> text, etc).  So I am going to have something like this:
> /layout
>   mylayout.xml
>
> /layout-large
>   mylayout.xml
>
> I want to, from the /layout-xlarge dir, either reference or include the
> mylayout.xml from the /layout-large directory.  So, if I have this:
> /layout-xlarge
>   mylayout.xml
>     <include layout="@layout/mylayout"/>
>
> What will be chosen as the layout?  I assume it would be the one in /layout
> and not the one in /layout-large as I would like.  As I said, I want large
> and xlarge to use the same layout files without duplicating but I am not
> 100% sure based on your response that this will happen.
>
> Stephan
>
> --
> 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




-- 
Romain Guy
Android framework engineer
[email protected]

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 [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

Reply via email to