更改 Eclipse 布局方向
我想知道如何更改布局
的方向。 在 manifest
中,我有:
android:screenOrientation="landscape"
在 layout.xml
中,我有,
android:orientation="horizontal"
但是当我单击“布局”按钮
时,它仍然显示为垂直 布局。
谢谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
布局编辑器中有一个下拉菜单,允许您选择横向或纵向。
There is a dropdown within the layout editor that allows you to select landscape or portrait orientation.