Using ImageViews instead of buttons in Android
<p>I'm building my first android application.In my starting activity I want to use some ImageViews instead of buttons,These ImageViews are big tiles that their width should always match the parent Layout.I've drawn my imageViews to fit a normal mobile screen (4 inches I think ) how can i have them fit any device? like a 7 or 10 inch Tablet?</p>

<p><strong>EDIT:</strong> Well sadly I used the fitCenter and didn't make any difference,that's my xml:</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" &gt;

&lt;Button
    android:id="@+id/button3"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    android:layout_marginLeft="24dp"
    android:layout_marginTop="122dp"
    android:drawableLeft="@drawable/home"
    android:drawablePadding="@dimen/padding_small"
    android:padding="@dimen/padding_small"
    android:text="My Classes"
    android:textSize="@dimen/a12" /&gt;

&lt;Button
    android:id="@+id/button1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/button3"
    android:layout_alignRight="@+id/button3"
    android:layout_centerVertical="true"
    android:layout_below="@+id/button3"
    android:layout_marginTop="35dp"                
    android:drawableLeft="@drawable/image"
    android:text="Update Offline Data"
    android:textSize="@dimen/a12" /&gt;

&lt;Button
    android:id="@+id/button4"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/button1"
    android:layout_alignRight="@+id/button1"
    android:layout_below="@+id/button1"
    android:layout_marginTop="35dp"
    android:drawableLeft="@drawable/configure"
    android:text="Settings"
    android:textSize="@dimen/a12" /&gt;

&lt;ImageView
    android:id="@+id/imageView1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    android:layout_marginTop="38dp"
    android:scaleType="fitCenter"
    android:src="@android:drawable/bottom_bar" /&gt;
</code></pre>

<p></p>
