How to set a dialog themed activity width to screen width?
<p>I am followin the method described <a href="http://stackoverflow.com/questions/460418/best-way-to-show-a-edit-text-over-screen/460556#460556">here</a> to create an EditText input activity. But the view doesn't fill the width of the screen. How can I tell to fit the screen width?</p>

<p><img src="http://img405.imageshack.us/img405/5057/activitythemed.png" alt="alt text"></p>

<pre><code>&lt;activity android:name="TextEntryActivity" 
          android:label="My Activity" 
          android:theme="@android:style/Theme.Dialog"/&gt;
</code></pre>

<p>-</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="fill_parent"
    android:orientation="vertical"
    android:gravity="right"
    android:layout_height="wrap_content"&gt;
    &lt;EditText
        android:text="@+id/txtValue"
        android:id="@+id/txtValue"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"&gt;&lt;/EditText&gt;
    &lt;Button
        android:text="Done"
        android:id="@+id/btnDone"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"&gt;&lt;/Button&gt;
&lt;/LinearLayout&gt;
</code></pre>
