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.
精彩评论