Fragment disappears from backstack
Why does FragmentTwo disappear from the backstack in the following situation: My app has a Fragment called FragmentOne in an Activity . FragmentOne holds a Button . When clicked, it launches FragmentTwo , which is added to the Fragment backstack. FragmentTwo has a Button , which when clicked adds two tabs to the ActionBar linked to two Fragments , FragmentThree and FragmentFour . FragmentThree is visible. If I now click the back button, I expected to see FragmentTwo . Instead, I see FragmentOne . Where did FragmentTwo go? Before I override onKeyDown() and start implementing my own backstack