drag ImageView inside a WebView
<p>:)
I'm adding an ImageView inside a WebView like this :</p>

<pre><code>    void addImv(int in)
{
     imageView.setId(imageID);
     webComp.addView(imageView);

     Bitmap bitmap;
     File sd = Environment.getExternalStorageDirectory();
     if(sd.canRead()){
         bitmap = BitmapFactory.decodeFile(sd.getAbsolutePath() + "/FMS/1/file"+in+".jpg");
         imageView.setImageBitmap(bitmap);
         imageView.setAdjustViewBounds(true);
         imageView.setMaxHeight(150);
         imageView.setAlpha(150);           

         imageView.bringToFront();          
     }
}
</code></pre>

<p>The photo is shown in the left top of the screen correctly.
Now I have this listener for touches on the imageView </p>

<pre><code>    OnTouchListener listenTouch = new OnTouchListener()
{
    @Override
    public boolean onTouch(View v, MotionEvent event)
    {   
        return true;
    }
</code></pre>

<p>};</p>

<p>which works too. How can i set the position of the imageView? I've tried using imageView.setPadding and imageView.imageView.setLayoutParams but clearly I'm doing something really wrong as it force-closes. The imageView isn't defined in xml layout file. Thank you! </p>
