문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top