Aliasing a layout resource with same name just different screen qualifier

Viewed 4892

I have a layout that is different for portrait and landscape; however on tablets (e.g. really big screen, xlarge layout qualifier) I want to use only the portrait version for both orientations.

/res/layout/abc.xml

/res/layout-land/abc.xml

/res/layout-xlarge/abc.xml

Since the first and last layouts are identical, I was thinking of using an alias. But I can't figure out from the Android docs how to reference a qualifier specific layout in my statement...

Ideas?

1 Answers
Related