How can I drag a imagebutton in android -


I am using ImageButton in my application. I am responding to touch events using onTouch event and onTouchListener after the touch event is complete I just display ImageButton in the target location Instead, I wanted to show it like dragging it to ImageButton instead. Anyone can tell me in the right direction.

There are two very good examples of how you can use touch events on anyone around the screen to move a similar view

Comments