Why doesn't fill_parent apply to Dialogs?
<p>My Dialog layout contains:</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"&gt;
</code></pre>

<p>The dialog still appears as small as its contents.</p>

<p>I had to do:</p>

<pre><code>dialog.getWindow().setLayout(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
</code></pre>

<p>... within the the onCreateDialog callback in order for it to fill the screen. </p>

<p>I can't find any reference to this behaviour on the google dev site.</p>
