4

I am able to drag n drop items successfully with View.startDrag method.

But I want to restrict dragging only by X axis with some Y axis offset. Currently when user started dragging he is able to move that view anywhere on the screen so how can I limit appearance of dragging so user will not be able to move it up and down.

Thank you.

endryha
  • 7,166
  • 8
  • 40
  • 64

0 Answers0