how to handle the backpressed while using tabactivity and fragment : i am using a activtity in which it is placed by fragment A .fragment A contains 3 tabs tab A tab B tab C on app launches the tab B is shown.these 3 tabs has a list when any of the list is clicked the fragment A replaces by another fragment B when backpressed from fragment B it should show the tab from which it have been clicked? pls give some suggession thanks in advance