Android full screen - view end at status bar bottom


#1

when running the app the top status bar (where the clock and battery is) is hidden - black
but the view dont overlap it so it cover the whole screen except the area where the status bar was.
that cause an offset when calculating clicks position
how can i make it truly full screen?

window = SDL_CreateWindow(“name”, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, width, height, SDL_WINDOW_FULLSCREEN | SDL_WINDOW_OPENGL);

i currently “solved it” by commenting out all the code in the main activity under
case COMMAND_CHANGE_WINDOW_STYLE:

so it only break