title: Android: setting the dimensions of a Dialog (what does "fill_parent" mean?)
body: <p>The Android Developer guidance on <a href="http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog" rel="nofollow">Creating a Custom Dialog</a> specifies a layout that starts:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/layout_root"
            android:orientation="horizontal"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:padding="10dp"
            &gt;
  </code></pre>
  
  <p>If I use this code I get a dialog that sits in the centre of the screen with about 40 pixels of the underlying view visible on each side.</p>
  
  <p>What exactly does "fill_parent" mean (for the width and height)?</p>