[android-developers] Android drag and drop outside parent
My app needs to allow users to drag and drop elements outside of their
parent. I have a TableView with N number of elements in it. Each
element is draggable. If an element is dragged to a certain location
outside of it's parent view, it disappears. Think of dragging an
element to a trash can, but the trash can is in a different tableview.
If the element is dropped anywhere else on the screen, it returns to
its original position.
My issue is getting the location of the elements irrespective of their
parent elements. I just need to know if the element being dragged is
touching another element once it is dropped, though both are in
different TableViews.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home