Android studio - Remove action bar

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);

}


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"