Buttons and texts cannot be dragged directly because they do not have a touch event. The way to do it is to cover your activity with a transparent panel, capture touch events on the panel, test for when these are over the target and then use drags on the panel to move the underlying button. I recently provided a demo in
this thread.