title: How to resize the Dialog Box?
body: <p>I would like to resize my dialogbox so for every dialog box i will have to size the full screnn size and the second use fill_parent for the size. my dilag is defined by the layout given by the code below.</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:layout_height="fill_parent"
      android:background="@drawable/dialog_back"
      android:orientation="vertical" &gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="0.2"
          android:orientation="horizontal" &gt;
  
          &lt;LinearLayout
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:layout_weight="1"
              android:orientation="horizontal" &gt;
  
              &lt;TextView
                  android:id="@+id/parcourstextV0"
                  style="@style/presentation_title"
                  android:layout_width="fill_parent"
                  android:layout_height="fill_parent"
                  android:gravity="center_vertical|left"
                  android:text="Parcours antérieur"
                  android:textColor="@color/black02"
                  android:textStyle="bold"
                  android:typeface="normal" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:layout_weight="9"
              android:orientation="horizontal" &gt;
  
              &lt;Button
                  android:id="@+id/parcoursClose"
                  android:layout_width="40dip"
                  android:layout_height="40dip"
                  android:background="@drawable/roundedbutton"
                  android:text="x"
                  android:textColor="@color/white"
                  android:textSize="25dip"
                  android:textStyle="bold"
                  android:gravity="center_vertical|center"
                  android:typeface="normal"
                  android:layout_alignParentRight="true" 
                  /&gt;
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:orientation="horizontal" &gt;
  
          &lt;ListView
              android:id="@+id/listparcours"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:layout_marginTop="5dp"
              android:layout_weight="1"
              android:listSelector="@android:color/transparent" /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>can you help me please.</p>