diff options
author | BogDan Vatra <bogdan@kdab.com> | 2016-02-15 19:19:58 +0200 |
---|---|---|
committer | BogDan Vatra <bogdan@kdab.com> | 2016-02-24 17:19:38 +0000 |
commit | 3376e67abe3a1ae5b3293b9c71b51e477c026b83 (patch) | |
tree | 95358d9ede4447de1444bb6ba8c48b9aca0bc91b /src/android/templates | |
parent | c05f2985eb90c7e18dee99676f0a5da3239e30b9 (diff) |
Perfect (almost) Qt on Android splash screen.
There is no need to show the splash image immediately when the
application starts, because it will be removed shortly in
QtActivityDelegate.java, therefore show the splash in
QtActivityDelegate.java.
This patch also adds a new option to AndroidManifest.xml which keeps
the splash screen visible until user to decides to hide it,
by using the QtAndroid::hideSplashScreen() function.
Change-Id: I8a29a5a757d626c4c9d6a2748a60ca3091ebf82d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/android/templates')
-rw-r--r-- | src/android/templates/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml index 02fd0ce23b..22c3ea7578 100644 --- a/src/android/templates/AndroidManifest.xml +++ b/src/android/templates/AndroidManifest.xml @@ -38,6 +38,7 @@ <!-- Splash screen --> <!-- meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/ --> + <!-- meta-data android:name="android.app.splash_screen_sticky" android:value="true"/ --> <!-- Splash screen --> <!-- Background running --> |