android - 安卓中进入一个界面横屏,竖直放的话竖屏
PHP中文网
PHP中文网 2017-04-17 16:47:20
0
2
429
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
小葫芦

This should be helpful to you: http://www.cnblogs.com/franksunny/p/3714442.html

巴扎黑

Create a new folder layout-port in the res directory, create a new xml file with the same name as the horizontal screen layout file, and write the vertical screen layout in it.

You can get the direction of the current screen in the code, and then perform different logical processing based on the direction.

The poster seems to be a newbie. It is better to watch more video materials in the beginner stage.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template