I have been looking at the use of the <include /> tag now that I am trying 
to support tablets.  I would like to use the same layout files for both 
large and xlarge screens but it appears the the <include /> tag only works 
on the default layout directory. 

In other words, this works:
  <include layout="@layout/track_by_flight"/>

But this does not work:
  <include layout="@layout-large/track_by_flight"/>

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

Is there some syntax that I am missing to make this work?

Is the directory selection smart enough that if I include a /layout-large 
dir that xlarge screens will use that instead of /layout?

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