简体   繁体   English

拖放FrameLayout

[英]Drag and Drop FrameLayout

I am wanting to have a group of components that are draggable... 我想要一组可拖动的组件...

eg.. 1 TextView, 1 EditText, & 1 Button 例如:1个TextView,1个EditText和1个按钮

I have put these into a FrameLayout and want to be able to drag and drop them around the parent layout. 我将它们放入FrameLayout中,并希望能够将它们拖放到父布局周围。

Can it be done? 能做到吗 and can anybody point me in the right direction? 有人能指出我正确的方向吗?

Tutorial here (note: have not tried it): 此处的教程(注:尚未尝试过):

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

Let us know if it works. 让我们知道它是否有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM