I am working in android, I am using a button. Now I want to perform drag and drop of this button.
This is my main.xml
Try returning true from onTouch() method. That might work out. In one of my app it worked as return false was not moving the view as per my touch movement but return true statement solved it.
onTouch()