Closed CazimirRoman closed 5 years ago
I noticed that the solution is to start the next activity by using these flags so that the Tutorial activity does not show up when the user presses the back hardware or software button:
Intent i = new Intent(TutorialActivityView.this, MainActivityView.class); i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(i);
Do not use finish()
When finishing the activity with the tutorial screen the previous activity is shown with a gray overlay and you cannot click on anything