Set or get the current window orientation. This can be one of the following special
values:
Device
-
Use the current device orientation. This is the default.
Landscape
-
Use landscape orientation.
Portrait
-
Use portrait orientation.
You can also set up a notification on this attribute
to learn when the user rotates the device.