拖放框架布局

发布于 2024-11-15 21:13:18 字数 142 浏览 6 评论 0原文

我想要一组可拖动的组件...

例如.. 1 TextView、1 EditText、& 1 按钮

我已将它们放入 FrameLayout 中,并希望能够将它们拖放到父布局周围。

能做到吗?有人能指出我正确的方向吗?

I am wanting to have a group of components that are draggable...

eg.. 1 TextView, 1 EditText, & 1 Button

I have put these into a FrameLayout and want to be able to drag and drop them around the parent layout.

Can it be done? and can anybody point me in the right direction?

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

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

发布评论

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

评论(1

好倦 2024-11-22 21:13:18

教程在这里(注意:还没有尝试过):

http://www.edumobile.org/android/android-beginner-tutorials/drag-and-drop-ui-element/

让我们知道它是否有效。

Tutorial here (note: have not tried it):

http://www.edumobile.org/android/android-beginner-tutorials/drag-and-drop-ui-element/

Let us know if it works.

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