title: Android - Navigation Up from Activity to Fragment
body: <p>I'm developing some application and I have one problem.</p>
  
  <p>I have :
  1. Activity A (Navigation Drawer pattern) with ListFragment in FrameLayout:
  xml:
      </p>
  
  <pre><code>    &lt;FrameLayout
          ...&gt;
  
      &lt;/FrameLayout&gt;
  
      &lt;LinearLayout
          ...&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <ol start="2">
  <li>Activity B which shows the detail data of ListView in ListFragment.</li>
  </ol>
  
  <p>How can I go back (using Navigation Up Button) from activity B to Activity A with saving UI of the ListFragment (Activity re-creates if I go back using Home Back). 
  Btw, if I press the back button on my phone, activity does not re-create and returns in previous state.</p>