issue with image
the piece is resizing, when I drag, where to remove this in the code. Please help
I am facing same issue.Please get rid out of it. Thanks in advance.
@swethakanth You don't have to "remove" it because this behaviour is not explicit specified or intended. It comes from using the RelativeLayout as the puzzle piece layer. This scales the containing view down to fit.
The fix is pretty simple: Just limit the modified top & left margin in a way that the puzzle piece view can't be moved out and you are done.
Here is how you can do it in Kotlin: https://github.com/StefanOltmann/PuzzleApp/commit/99900598a6f1de14466e43dc9ac2597ba033917b
Hope that helps.