title: Home button parent fragment-child activity
body: <p>I am having Activity A and Two Fragment called Fragment A and Fragment B.
  In Fragment B List View is implemented. On Clicking of any list item the new activity get instantiated (Activity B). The Problem with the scenario 2
  if the user pres the home button and again resume the activity then activity 2 is getting resumed.After resuming activity if the user press the back button then activity is getting into pause stage instead of returning back into to the parent fragment(Fragment 2)<a href="https://i.stack.imgur.com/z5YDy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z5YDy.png" alt="Activity overflow"></a>.</p>
  
  <p>Manifest for Activity 2</p>
  
  <pre><code>&lt;activity
              android:name=".activity.Activity2"
              android:label="@string/label1"
              android:parentActivityName=".activity.Activity1"
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value="com.test.activity.Activity1" /&gt;
    &lt;/activity&gt;
  </code></pre>
  
  <p>Let me know what's causing this behavior. How can i retain fragment B when Activity B move into pause state.? or any other solution?</p>