How do I specify different layouts for portrait and landscape orientations? November 19, 2022 by Tarik Create a layout-land directory and put the landscape version of your layout XML file in that directory.