Why have you deleted this activity ? Can't we transfer some code to corresponding fragment?