how to resize ImagView by java code for android
<p>how to resize ImagView by java code when i press the Image ?</p>

<p>this my xml</p>

<pre><code>&lt;ImageView
            android:id="@+id/MyPic"
            android:src="@drawable/clean"
            android:layout_gravity="center"
            android:gravity="center"
            android:layout_height="70dp"
            android:layout_width="90dp"
            android:adjustViewBounds="true"
            android:scaleType="fitXY"
             /&gt;
</code></pre>

<p>and this my java</p>

<pre><code>public class see_me extends Activity  {
@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
       setContentView(R.layout.see_me);

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