title: Fragments, DialogFragment, and Screen Rotation
body: <p>I have an Activity that calls setContentView with this XML:</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="horizontal"
      &gt;
      &lt;fragment android:name="org.vt.indiatab.GroupFragment"
          android:id="@+id/home_groups"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_weight="1" /&gt;
              &lt;..some other fragments ...&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The GroupFragment extends Fragment, and all is well there. However, I show a DialogFragment from within GroupFragment. This shows correctly, HOWEVER when the screen rotates, I get a Force Close.</p>
  
  <p>What's the proper way to display a DialogFragment from within another Fragment other than DialogFragment.show(FragmentManager, String)?</p>