How to avoid image stretching in imageview
<p>I have a image with 320x480 and i am running the application in device with 320x480. I set Image as <code>android:background</code> then my image is stretched. but if i use <code>android:src</code> then i am getting white space behind the image as if the image didnot cover the screen. How to set image in image view so that my image will neither be stretched and it will cover the whole screen.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#ffffff"
    &gt;
    &lt;ImageView android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="@drawable/about1"/&gt;
&lt;/LinearLayout&gt;
</code></pre>
