title: How to add layouts to dialog
body: <p>I have an idea in mind but im not sure about how to implement it</p>
  
  <p>first i have a dialog</p>
  
  <pre><code>final Dialog dialog = new Dialog(mContext);
  </code></pre>
  
  <p>i also have a layout</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:orientation="vertical" &gt;
  
      &lt;TextView
          android:id="@+id/textViewTitle"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center_horizontal"
          android:gravity="center_horizontal"
          android:text="Large Text"
          android:textAppearance="?android:attr/textAppearanceLarge" /&gt;
  
      &lt;TextView
          android:id="@+id/textViewDescription"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center_horizontal"
          android:gravity="center_horizontal"
          android:text="Small Text"
          android:textAppearance="?android:attr/textAppearanceSmall" /&gt;
  
      &lt;TextView
          android:id="@+id/textViewWhen"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center_horizontal"
          android:gravity="center_horizontal"
          android:text="Medium Text"
          android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>what i want is to add this layout in the dialog, i may also want to add more of the same layout right under it inside that dialog
  how can i do that?</p>
  
  <p>for example how can i add two of this layout in one dialog?
  something like</p>
  
  <hr>
  
  <pre><code>  Dialog Title
  
     Large Text
     Small Text
     Medium Text
  
  
     Large Text
     Small Text
     Medium Text
  </code></pre>