How can i drag an imageView from a place to another specific place?
<p>I want to be able to drag and drop images placed in a linearLayout to another linearLayout in specific places. It's actually a game to re order letters of a word.
here is the code i've done so far, it does drag the image but it became larger and i can't drop it in the other layout.</p>

<p>linearDrag.addView(imageLettre);</p>

<pre><code>            imageLettre.setOnTouchListener(new OnTouchListener() {

                @Override
                public boolean onTouch(View v, MotionEvent event) {
                    layoutParams = (LayoutParams) imageLettre.getLayoutParams();
                    switch(event.getAction())
                    {
                    case MotionEvent.ACTION_DOWN:   
                        break;
                    case MotionEvent.ACTION_MOVE:
                        int x_cord = (int)event.getRawX();
                        int y_cord = (int)event.getRawY();

                        if(x_cord&gt;windowwidth){x_cord=windowwidth;}
                        if(y_cord&gt;windowheight){y_cord=windowheight;}

                        layoutParams.width = x_cord -25;
                        layoutParams.height = y_cord - 75;

                        imageLettre.setLayoutParams(layoutParams);
                        break;
                    default:
                        break;
                    }
                        return true;
                }
            });
</code></pre>

<p>I want to understand more the drag and drop phylosophy but i need help :( 
thanks a lot</p>
