On Android show the system UI when an SDL window is windowed, hide the system UI when it's fullscreen, like we do on iOS.

We're increasing the Android SDK minimum version to API 19, this doesn't increase the minimum target API, which is API 14.
This commit is contained in:
Sam Lantinga 2018-02-11 18:23:37 -08:00
parent 66f9492b69
commit 6e01fbb763
9 changed files with 66 additions and 29 deletions

View file

@ -34,6 +34,7 @@ extern "C" {
/* Interface from the SDL library into the Android Java activity */
extern void Android_JNI_SetActivityTitle(const char *title);
extern void Android_JNI_SetWindowStyle(SDL_bool fullscreen);
extern void Android_JNI_SetOrientation(int w, int h, int resizable, const char *hint);
extern SDL_bool Android_JNI_GetAccelerometerValues(float values[3]);