title: how to use correct dragging of a view on android
body: <p>it seems that there are a lot of solutions of how to use dragging of views on android .</p>
  
  <p>however, they are either too slow or buggy.</p>
  
  <p>a known solution is to have a framelayout , and the view simply changes its layoutParams as it moves using the OnTouchListener ,as described here:
  <a href="http://www.anddev.org/novice-tutorials-f8/android-drag-and-drop-of-normal-views-not-bitmaps-t13404.html" rel="noreferrer">http://www.anddev.org/novice-tutorials-f8/android-drag-and-drop-of-normal-views-not-bitmaps-t13404.html</a>
  however, if the view is an imageView , when reaching the most right (or most bottom) side of the framelayout , the image shrinks .</p>
  
  <p>another possible solution is to use the canvas in order to show the dragged content , as described here:
  <a href="http://www.anddev.org/basic_drag_and_drop-t3095.html" rel="noreferrer">http://www.anddev.org/basic_drag_and_drop-t3095.html</a>
  however, i'm not sure how to use it for complex views.</p>
  
  <p>does anyone know of a good solution , one that let the size of the dragged view stay the same , no matter where it is in its container?</p>
  
  <p>please help me . </p>