Question

I want to know how to change the orientation of my layout. In manifest I have:

android:screenOrientation="landscape"

In layout.xml I have

android:orientation="horizontal"

but when I click the "layout" button it still appears as a vertical layout.

Thank You.

Was it helpful?

Solution

There is a dropdown within the layout editor that allows you to select landscape or portrait orientation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top