designing of layout in android
<p>i want to design a layout that works fine in different resolution android phones for example the given code is layout code how do i manage this so it looks good in all kind of android phones with different resolution.(resolution are like 480*800 768*1024 etc) can any one help me</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="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:orientation="vertical"&gt;


    &lt;TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/working_us"
        android:layout_gravity="center_horizontal"
        android:textColor="@color/heading"
        android:textSize="20sp"/&gt;



    &lt;TextView
        android:layout_marginTop="20dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="20dp"
        android:layout_marginRight="20dp"
        android:text="@string/working_text"
        android:layout_gravity="center_horizontal"
        android:gravity="center"
        android:textColor="@color/text"
        android:textSize="12sp"/&gt;


    &lt;Button
        android:id="@+id/online_p"
        android:background="@drawable/rectangle"
        android:layout_marginTop="20dp"
        android:layout_width="match_parent"
        android:text="VISIT US ONLINE"
        android:textColor="#51bdd4"
        android:layout_height="wrap_content"
        android:layout_marginRight="20dp"
        android:layout_marginLeft="20dp"
        android:gravity="center"
        /&gt;


    &lt;Button
        android:id="@+id/download_app"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="21dp"
        android:padding="20dp"
        android:layout_marginBottom="10dp"
        android:layout_gravity="bottom|center_horizontal"
        android:text="DOWNLOAD THE APP"
        android:textColor="#fff"
        android:background="@drawable/col" /&gt;
&lt;/LinearLayout&gt;
</code></pre>