Reputation: 13839
is it possible to define a style for portrait orientation and another for landscape so when the device is rotated the change is automatic, or it has to be done programmatically ?
Thanks
Upvotes: 3
Views: 1008
Reputation: 995
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.
Upvotes: 4