I'm not sure to have understood well the role played by the several Android /res/layout
folders.
layout
: general layouts
layout-port
: layout for widget that must change for portrait orientation
layout-land
: layout for widget that must change for landscape orientation
For example in the Home sample application, under layout-port
and layout-land
folders there is only one home.xml
file.
Have I understood right?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…