How to create AVD that represent Samsung Galaxy S in Eclipse emulator?
<p>I am working on an application specifically for Samsung Galaxy S(I am not the one making decision here) and they want its layout to be pixel-precise accurate.
Can I just use normal 2.1 AVD?</p>

<p>So I tried creating WQVGA432 but it looks like this. I'm not sure why the LinearLayout does not fill up the screen but only use up to the large images with Korean (which I can't scale down, but that's different question).</p>

<p><img src="http://i137.photobucket.com/albums/q219/RobGThai/wqvga432.png" alt="WQVGA432"></p>

<p>This is main.xml:</p>

<blockquote>
  <p>
  

<pre><code>&lt;RelativeLayout 
    android:id="@+id/ui_navBar"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="#FF333333"

    &lt;!-- This is navigation panel at the top of the page --&gt;
    &lt;!-- Top-Left Button, aka Back button --&gt;
    &lt;FrameLayout android:id="@+id/ui_topLeftBox"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_centerVertical="true"&gt;
    &lt;/FrameLayout&gt;
</code></pre>
</blockquote>

<pre><code>    &lt;!-- Screen name --&gt;
    &lt;FrameLayout android:id="@+id/ui_topBox"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"&gt;
    &lt;/FrameLayout&gt;

    &lt;!-- Top-Right Button, aka Forward button --&gt;
    &lt;FrameLayout android:id="@+id/ui_topRightBox"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
        android:layout_centerVertical="true"&gt;
    &lt;/FrameLayout&gt;
&lt;/RelativeLayout&gt;
&lt;FrameLayout
    android:id="@+id/ui_contentView"
    android:layout_width="fill_parent" 
    android:layout_height="0dip"
    android:paddingTop="0px" 
    android:layout_weight="1"&gt;

    &lt;!-- Main View --&gt; 
    &lt;RelativeLayout
        android:id="@+id/mainView"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"&gt;
        &lt;RelativeLayout 
            android:id="@+id/topBanner"
            android:orientation="horizontal"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:background="#FFFFCC00"
            &gt;
            &lt;TextView android:textSize="20sp" 
                android:textColor="#FF000000"
                android:text="EUR/USD"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_centerVertical="true"
            /&gt;
        &lt;/RelativeLayout&gt;
        &lt;RelativeLayout
            android:id="@+id/view1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/topBanner"
            android:background="#FF444444"&gt;
            &lt;CheckBox android:id="@+id/cbx1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_alignParentLeft="true"
            /&gt;
            &lt;com.vg.library.NumericInput 
                android:id="@+id/val1Nip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_toRightOf="@+id/cbx1"
                 /&gt;
        &lt;/RelativeLayout&gt;
        &lt;com.vg.library.NumericInput 
            android:id="@+id/val2Nip"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/view1" /&gt;
        &lt;TextView android:layout_width="wrap_content"
            android:layout_height="wrap_content" 
            android:text="Screen01"
            android:layout_below="@+id/val2Nip"
            android:layout_alignParentLeft="true" /&gt;
    &lt;/RelativeLayout&gt;
&lt;/FrameLayout&gt;

&lt;!-- ExpandBar --&gt;
&lt;RelativeLayout
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    &gt;
    &lt;ImageView 
        android:id="@+id/ui_expandBar"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:src="@drawable/bar"
        android:background="#0000"
    /&gt;
    &lt;FrameLayout
        android:id="@+id/ui_drawerView"
        android:visibility="gone"
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content"
        android:paddingTop="0px" 
        android:layout_weight="1"
        android:layout_below="@+id/ui_expandBar"&gt;
        &lt;RelativeLayout
            android:id="@+id/ui_drawerContent"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:background="#FF550000" &gt;
            &lt;RelativeLayout
            android:id="@+id/m1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:background="#FF550000" &gt;
            &lt;CheckBox android:id="@+id/cbxB"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_alignParentLeft="true"
            /&gt;
            &lt;com.vg.library.NumericInput 
                android:id="@+id/valBNip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_toRightOf="@+id/cbxB"
                 /&gt;
            &lt;/RelativeLayout&gt;
        &lt;/RelativeLayout&gt;
    &lt;/FrameLayout&gt;
&lt;/RelativeLayout&gt;
&lt;RelativeLayout 
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="#FF333333"
    android:layout_weight="0"
    android:layout_gravity="bottom"
    &gt;
    &lt;!-- This is menu panel at the bottom of the page --&gt;
    &lt;com.vg.library.MenuBar 
        android:id="@+id/ui_menuBar"
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:background="#FFAAAA00"
        &gt;
        &lt;!-- All menu item should go here --&gt;
    &lt;/com.vg.library.MenuBar&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p></p>
