更改 Eclipse 布局方向

发布于 2024-10-01 03:32:40 字数 301 浏览 0 评论 0原文

我想知道如何更改布局的方向。 在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

九公里浅绿 2024-10-08 03:32:40

布局编辑器中有一个下拉菜单,允许您选择横向或纵向。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文