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

@@ -8,14 +8,14 @@ else {
}
android {
compileSdkVersion 16
compileSdkVersion 19
buildToolsVersion "26.0.1"
defaultConfig {
if (buildAsApplication) {
applicationId "org.libsdl.app"
}
minSdkVersion 14
targetSdkVersion 16
targetSdkVersion 19
versionCode 1
versionName "1.0"
externalNativeBuild {
@@ -65,4 +65,4 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
}
}