Portait and Landscape Layout

来源:互联网 发布:java自学编程入门教程 编辑:程序博客网 时间:2024/06/08 16:47

You can use "Ctrl + F11" to switch the emulator between portait and landscape mode.

As we know, the screen's width and height are different between portait and langscape mode. So, it is nessary for us test our layout to make sure that it looks fine in both portait and landscape modes.

/res/layout/mail.xml

/res/layout-land/mail.xml