Android Layout scrteching
<p>I have following layout in my android application.</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mainlayout" 
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/bbg"&gt;
    &lt;LinearLayout
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0"&gt;
        &lt;TableLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:stretchColumns="0"&gt;
            &lt;TableRow&gt;
                &lt;EditText 
                    android:id="@+id/TestEdit"
                    android:hint="Test"  
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"/&gt;
                &lt;Button
                    android:id="@+id/TestButtin"
                    android:layout_width="wrap_content"
                    android:layout_height="fill_parent"
                    android:text = "Test"/&gt;
            &lt;/TableRow&gt;
        &lt;/TableLayout&gt;
    &lt;/LinearLayout&gt;
    &lt;com.google.android.maps.MapView
        android:id="@+id/MapView" android:clickable="true"
        android:layout_width="fill_parent" android:layout_height="fill_parent"
        android:apiKey="KEY" /&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>The problem is, that when I change text in EditText using setText() method, if text is too long EditText scratches and pushes Button out of screen. I don't want EditText to scrath, but I want it to be also I want it to be "fill_parent" by default/</p>

<p>How can I fix it? Thanks.</p>
