[android-developers] Re: Can you use include / with @layout-land?

2011-03-07 Thread davemac
Did you try creating layout/mylargelayout.xml, then include that from within layout-large/mylayout.xml and from layout-xlarge/mylayout.xml ? In your code, you'd always refer to mylayout, but for large and xlarge, it would end up looking for mylargelayout which would be found in layout. I haven't

Re: [android-developers] Re: Can you use include / with @layout-land?

2011-03-07 Thread Dianne Hackborn
On Sun, Mar 6, 2011 at 2:51 PM, Hari Edo hari@gmail.com wrote: I once tried to have small rotation-independent clusters of views included from layout/, while the activity xml was in layout-land. It seemed to have trouble finding layout/ to resolve include tags. Trouble of the

[android-developers] Re: Can you use include / with @layout-land?

2011-03-06 Thread Hari Edo
On Mar 6, 5:00 pm, Romain Guy romain...@android.com wrote: If the layout you want to include is *exactly* the same for all configurations, just put it in res/layout. I once tried to have small rotation-independent clusters of views included from layout/, while the activity xml was in