EditText width is longer compared to above EditText
<p>I have a activity which contains one AutoCompleteTextView and one EditText. The edittext is disabled via the xml file but the width is longer compared to the AutoCompleteTextView which is not disabled.why? and how can i have it the same size.here is the xml code for the second edittext.please help.</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="match_parent"
android:orientation="vertical"
android:padding="10dip"
android:gravity="right"&gt; 

&lt;TextView
    android:id="@+id/cusNameTV"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/customerName"
    android:textColor="#FFFFFF" 
    android:layout_gravity="right"
    /&gt;

&lt;AutoCompleteTextView
    android:id="@+id/cusName_CB"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"/&gt;

&lt;TextView
    android:id="@+id/cusaddrTV"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" 
    android:text="@string/cusaddress"
    android:textColor="#FFFFFF"
    android:layout_marginBottom="5dip"
    android:layout_marginTop="5dip" 
    android:layout_gravity="right"/&gt;


&lt;EditText
    android:id="@+id/editText_cusAddress"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@android:color/darker_gray"
    android:clickable="false"
    android:cursorVisible="false"
    android:focusable="false"
    android:focusableInTouchMode="false"
    android:inputType="none"
    android:state_enabled="false"/&gt;

&lt;/LinearLayout&gt;
</code></pre>
