Android 4.0 Different Screen Size and Density
<p>This is main activity screen of my application.But I do not provide same view in different screen size and density.Please help me.How can I solve this problem.I want to use this xml layout with android API 10 and higher.I tried most of techniques solve this problem but I did not.</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/firstLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:animateLayoutChanges="true"
android:background="@drawable/home"
&gt;



&lt;RelativeLayout
    android:id="@+id/topheader"
    android:layout_width="match_parent"
    android:layout_height="142dip"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true" &gt;
&lt;/RelativeLayout&gt;

&lt;RelativeLayout
    android:id="@+id/RelativeLayout1"
    android:layout_width="wrap_content"
    android:layout_height="320dip"
    android:layout_alignParentBottom="true"
    android:layout_alignParentLeft="true" &gt;

    &lt;include
        android:id="@+id/include2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_above="@+id/include3"
        android:layout_alignParentLeft="true"
        android:layout_marginBottom="20dip"
        layout="@layout/anaekran_seconddock" /&gt;

    &lt;include
        android:id="@+id/include1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_above="@+id/include2"
        android:layout_alignParentLeft="true"
        android:layout_marginBottom="20dip"
        layout="@layout/anaekran_firstdock" /&gt;

    &lt;include
        android:id="@+id/include3"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_marginBottom="30dip"
        layout="@layout/anaekran_thirddock" /&gt;
&lt;/RelativeLayout&gt;

&lt;RelativeLayout
    android:id="@+id/relativeLayout2"
    android:layout_width="match_parent"
    android:layout_height="142dip"
    android:layout_alignParentLeft="true"
    android:layout_below="@+id/topheader"
    android:background="@color/gray" &gt;

    &lt;Gallery
        android:id="@+id/gallery1"
        android:layout_width="match_parent"
        android:layout_height="match_parent" /&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p></p>
