<include/> works will all layout directories. If you use
layout="@layout/track_by_flight", Android will pick the layout from the most
appropriate directory at runtime. For instance, if you are running on an
xlarge screen, the layout Android will choose will be
res/layout-xlarge/track_by_flight. This is exactly what happens with
drawables (android:background, android:src, etc.)

Is my only option to put the file in the /layout dir and reference it from
> both the large and x-large dir?
>

If the layout you want to include is *exactly* the same for all
configurations, just put it in res/layout.

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