Android studio - Remove action bar

@soet_za ===
the code you put has nothing to see with your problem: it s only the code from the MainActivity which creates a fragment inside a frameLayout and add the sketch to the fragment. As for the error i have told you that your xml values are probably wrong. That s why i was saying that the better way to avoid this kind of problem is to import the project fom P5; i can understand that the initial code crashes for some reason, but now you can easily modify it it seems…