# 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:** 5

<div class="post-metadata">

**Author:** ![soet\_za](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Post date:** [November 24, 2019, 12:12pm UTC](https://discourse.processing.org/t/android-studio-remove-action-bar/15760/5 "2019-11-24T12:12:18Z")

</div>

I mean like I made a simple game to test out Android processing, the game has images that are in a class with a Vector pos, I update the pos.x and pos.y in draw() so the image gets moved each frame, so it is not static. I have a static image for the background, it’s position never changes and is therefore static. The only image that renders when I remove the action bar is the background and therefore I assume it is only static images that get loaded. I don’t want to import the project into Android Studio since the project I wrote in processing crashes on startup on phone and emulators and the code I have rewritten does not crash. I simply want to remove the action bar. Maybe it has something to do with code like this ---- ```  
@Override  
protected void onCreate(Bundle savedInstanceState) {  
super.onCreate(savedInstanceState);  
FrameLayout frame = new FrameLayout(this);  
frame.setId(CompatUtils.getUniqueViewId());  
setContentView(frame, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH\_PARENT,  
ViewGroup.LayoutParams.MATCH\_PARENT));

```
sketch = new Sketch();
PFragment fragment = new PFragment(sketch);
fragment.setView(frame, this);

```

}

```auto

this code comes from here - https://android.processing.org/tutorials/android_studio/index.html

EDIT: this line from the processing project's AndroidManifest.xml breaks the app android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
```

---

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