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
you should get button's layout params, set left, right, top, bottom and set these layout params back to button