When the activity is paused the game will be pause too and the paused menu will be shown after resuming