EditText boxes do not scale on small screens
<p>I have a problem i cant resolve with EditText boxes in my views.
If i preview any of my views in eclipse, the EditText boxes look fine in small and larger screens, and appear to scale as expected. But in small screens they appear larger in height on the screen. They appear to scale on the width ok, but grow in height, leaving more margin between the text and the border.</p>

<p>The xml is very small:</p>

<pre><code>&lt;EditText android:id="@+id/width" 
android:layout_height="wrap_content" 
android:layout_width="fill_parent" 
android:hint="Slab Width (mm)" 
android:inputType="phone"
&gt;
&lt;/EditText&gt;
</code></pre>

<p>I would have expected the box to be scaled in height to suit the screen.
I am surprised it does not scale in height.
I am shocked it gets larger in physical height...????</p>

<p>Small screen: <a href="http://www.doobox.co.uk/rapidimages/smallscreen.png" rel="nofollow">http://www.doobox.co.uk/rapidimages/smallscreen.png</a></p>

<p>edit: Its actually QVGA &amp; WQVGA screens that have this problem..!</p>

<p>I think your going to need full xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout
android:id="@+id/widget36"
android:background="@drawable/linen_bg"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
&gt;
&lt;LinearLayout
android:id="@+id/main_linear"
android:layout_width="fill_parent"
android:orientation="vertical"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="20dip" android:layout_marginRight="20dip" android:layout_height="wrap_content"&gt;
&lt;ImageView
android:id="@+id/logo"
android:background="@drawable/conc_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" 
android:layout_marginTop="15dip"
&gt;
&lt;/ImageView&gt;
&lt;TextView android:text="Slab Calculator" 
android:id="@+id/TextView01" 
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:textSize="20sp" 
android:textColor="#333333" 
android:layout_marginTop="20dip"&gt;
&lt;/TextView&gt;



&lt;EditText android:id="@+id/length" 
android:layout_width="fill_parent" 
android:inputType="phone" 
android:fitsSystemWindows="true" 
android:hint="Height of Slab (mm)" 
android:layout_height="wrap_content"&gt;
&lt;/EditText&gt;



&lt;TextView android:text="**.** Cubic Meter's" 
android:id="@+id/slab_result" 
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp" 
android:textColor="#333333" 
android:layout_marginTop="5dip"&gt;
&lt;/TextView&gt;

&lt;TextView android:text="£**.** Total" 
android:id="@+id/slab_cost" 
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp" 
android:textColor="#333333" 
android:layout_marginTop="5dip"&gt;
&lt;/TextView&gt;
&lt;/LinearLayout&gt;
&lt;RelativeLayout android:id="@+id/bottom_container"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="20dip"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
&gt;
&lt;Button
android:id="@+id/calculate_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:drawableTop="@drawable/calculate" 
android:text="Calculate" 
android:background="@android:color/transparent"&gt;
&lt;/Button&gt;
&lt;/RelativeLayout&gt;
&lt;/RelativeLayout&gt;
</code></pre>
