I am trying to move an imageview based on the the screen onTouchEvent . I am wondering which one to use to move the image view as I am dragging it:
1- Using Layoutparams, set params.leftMargine and params.topMargin
2- Using set setLeft() and setTop() Method on the view
3- Using setX() and setY() method on the view
And any reason to why one would be used not used? Thanks