开发者

Change style depending on orientation

is it possible to define a style for portrait orienta开发者_如何转开发tion and another for landscape so when the device is rotated the change is automatic, or it has to be done programmatically ?

Thanks


in your /res folder, make a new folder called layout-land and put your main.xml in there. it will switch to that layout for landscape.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜