# Android studio - Remove action bar

**URL:** <https://discourse.processing.org/t/android-studio-remove-action-bar/15760>\
**Category:** Processing for Android\
**Created:** [November 24, 2019, 10:43am UTC](https://discourse.processing.org/t/android-studio-remove-action-bar/15760 "2019-11-24T10:43:22Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [November 24, 2019, 2:18pm UTC](https://discourse.processing.org/t/android-studio-remove-action-bar/15760/7 "2019-11-24T14:18:26Z")

</div>

@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…

---

_[View the full topic](https://discourse.processing.org/t/android-studio-remove-action-bar/15760)._
