title: android fit image to fill whole layout
body: <p>I have an image that has resolution in order to fit whole screen on my test device. When tested with other screen sizes, image fits only width or height and leaves an empty space because it always scales proportional. How could I set image to fit fullscreen also if proportion changes? For example, if my device screen is 3/4, image will be properly scaled on 3/4 displays independent on its resolution. However, for a 16/9 will not fit fullscreen. </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:background="@color/blueish"
    android:layout_height="fill_parent"&gt;
      &lt;ImageView 
          android:src="@drawable/splashandroid" 
          android:id="@+id/imageView1" 
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content"&gt;
          &lt;/ImageView&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>also tried wrap_content for image layout width</p>