Change parameters according to phone orientation
<p>I would like to set up these parameters</p>

<pre><code>IF (the phone is in vertical orientation)
     imageView.setLayoutParams(new Gallery.LayoutParams(400, 400));

ELSE ()
     imageView.setLayoutParams(new Gallery.LayoutParams(600, 600));
</code></pre>
