Display toast
Toast messageBox =
Toast.makeText(getActivity() , "Fuel record added successfully" , Toast.LENGTH_LONG);
messageBox.show();
Toast messageBox = Toast.makeText(Login.this , "Login successful" , Toast.LENGTH_LONG);
messageBox.show();
//where Login.this is the name of the activity