To switch the Orientation of a View from landscape to portrait when the device is rotated requires the building of two Views. One View landscape and the other Portrait.
SEE: How to make a Landscape View or change the orientation of a View or Layer
You now need to click on the dots and click on the 3 dots for both your Landscape and Portrait view, then click on "Events" and then click on "Orientation Change" on the menu that appears.
Now use the Action "Switch to Another View" on each View. This way when you rotate the device it will switch views from landscape to portrait or visa versa.