This is handled in onBackPressed()your activity, which you can redefine if you want to do something special. If you want finer control or more detailed information, you can read the FragmentManager , which manages still frames. popBackStack()and popBackStackImmediate()may be what you are looking for. As a rule, you do not need to micro-level too much. By default, it will return you to the previous action without any effort on your part.
, iOS-dev, Android, back ( ) up ( ). "" , ( ), . "" , . , Google , .