Search code examples
androidandroid-layoutandroid-orientation

Change Eclipse Layout Orientation


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.


Solution

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