MOBILE-4215 cordova: Use icon as splash on Android
parent
d9e2788f44
commit
9fca509a0b
|
@ -54,8 +54,9 @@
|
||||||
<param name="ios-package" onload="true" value="CDVStatusBar" />
|
<param name="ios-package" onload="true" value="CDVStatusBar" />
|
||||||
</feature>
|
</feature>
|
||||||
<platform name="android">
|
<platform name="android">
|
||||||
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="resources/android/splash-foreground.png" />
|
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="resources/android/icon-foreground.png" />
|
||||||
<preference name="AndroidWindowSplashScreenBackground" value="#ffffff" />
|
<preference name="AndroidWindowSplashScreenBackground" value="#FFFFFF" />
|
||||||
|
<preference name="AndroidWindowSplashScreenIconBackgroundColor" value="#FFFFFF" />
|
||||||
<resource-file src="MainActivity.java" target="app/src/main/java/com/moodle/moodlemobile/MainActivity.java" />
|
<resource-file src="MainActivity.java" target="app/src/main/java/com/moodle/moodlemobile/MainActivity.java" />
|
||||||
<resource-file src="google-services.json" target="app/google-services.json" />
|
<resource-file src="google-services.json" target="app/google-services.json" />
|
||||||
<resource-file src="resources/android/icon/drawable-ldpi-smallicon.png" target="app/src/main/res/mipmap-ldpi/smallicon.png" />
|
<resource-file src="resources/android/icon/drawable-ldpi-smallicon.png" target="app/src/main/res/mipmap-ldpi/smallicon.png" />
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="background">#FFFFFF</color>
|
<color name="background">#FFFFFF</color>
|
||||||
|
<color name="cdv_splashscreen_background">#FFFFFF</color>
|
||||||
|
<color name="cdv_splashscreen_icon_background">#FFFFFF</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue