View and Shadowbuilder
<p>I am working on a <strong><code>dragdrop</code></strong> game, but I have small problem, that when I click in a view the shadow builder appears first at the right-top-corner and then it moves with the touch place.  </p>

<p>Aslo the shadow builder is smaller than the initial view. How can I make it as the initial view?   </p>

<pre><code>private final class MyTouchListener implements OnTouchListener {
  public boolean onTouch(View view, MotionEvent motionEvent) {

    if (motionEvent.getAction() == MotionEvent.ACTION_DOWN) {
      ClipData data = ClipData.newPlainText("", "");
      DragShadowBuilder shadowBuilder = new View.DragShadowBuilder(view);
      view.startDrag(data, shadowBuilder, view, 0);
      view.setVisibility(View.INVISIBLE);
    }
    return true;
  } else {
    return false;
  }
}
</code></pre>
