Android Eclipse ADT 8.0.0(和8.0.1)问题 - 无法在大纲视图中通过拖放创建视图层次结构

发布于 2024-10-06 06:30:58 字数 103 浏览 0 评论 0原文

在最新版本之前,我能够使用拖动创建层次结构 n' drop,在大纲视图上执行。 升级后,我不能使用控件(“+”、“-”和箭头) 丢失的。

那么我现在应该如何构建视图层次结构呢?

Before the newest version I was able to create hierarchies using drag
n' drop, performed on the outline view.
Since the upgrade, I can't and the controls ('+', '-' and arrows) are
missing.

So how am I suppose to build view hierarchies now?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

很糊涂小朋友 2024-10-13 06:30:58

如果您使用的是 RelativeLayout,则将 View 拖动到您想要放置该 View 的边缘。那应该有效。

如果您使用的是LinearLayout,您只需按照习惯拖放它们即可。

Drag the View to on of the edges you want to have that View on if you are using a RelativeLayout. That should work.

If you are using a LinearLayout you can just drag'n drop them as you are used to.

放手` 2024-10-13 06:30:58

显然这是一个已知问题,将在 ADT 9.0 中修复。您现在可以安装它的实验/夜间版本。

Apperantly that's a known issue and will be fixed in ADT 9.0. you can install experimental / nightly build of it now.

屌丝范 2024-10-13 06:30:58

在线性布局中拖放视图是可行的...前提是布局不为空并且其高度/宽度未设置为wrap_content!

示例:创建一个线性布局。设置布局宽度/高度以填充父级或某个固定值(例如 64dip)。现在,您可以在其中拖放一个文本视图。

drag'n drop of views in a linear layout works... provided the layout is not empty and its heigth/width are not set to wrap_content !!!

example : create a linearLayout. Set the layout width / height to fill parent or some fixed value (e.g. 64dip). You can now drag'n drop, let's say, a textView in it.

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