To change accordingly to landscape/portrait mode

后端 未结 2 1037
余生分开走
余生分开走 2021-01-23 10:08

I have a date/time picker which I want them to react according based on its layout.

Consider on landscape mode:

This is a perfect placement of what I

2条回答
  •  时光取名叫无心
    2021-01-23 10:48

    You can create a layout-land directory that contains landscape layouts of your screens. In this case you would place the original layout inside the layout-land directory and place the orientation:vertical layout inside your layout folder.

    The Android documentation has information on how to support different screens

提交回复
热议问题