ImageView manipulation in Java
<p>I have an ImageView created in my xml layout. I then access the ImageView in my Java with the following:</p>

<pre><code>ImageView iv1 = (ImageView) findViewById(R.id.iv1); 
</code></pre>

<p>I'm then accessing the ImageView's OnClick method. When the ImageView is clicked I would like to change it's position on the screen. In the XML side I can do this with layout_margin, but I can't figure out how that is done in the Java side. </p>

<p>Could anyone point me in the right direction? Thanks in advance!</p>
