jDavid95 opened a new issue, #1623:
URL: https://github.com/apache/cordova-android/issues/1623
<!------------^ Click "Preview" for a nicer view! -->
I´m trying to set a background for my splashscreen, but it´s not working, it
either shows a white or black/charcoal background (which is not the one I want
to use).
I´m currently on Cordova-Android 11
Phone brands tested: Pixel (emulator), Xiaomi's (real), and Samsung(real)
this is how my config.xml looks like:
---
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge"
target="/manifest/application"
xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:networkSecurityConfig="@xml/network_security_config" />
</edit-config>
<resource-file
src="resources/android/xml/network_security_config.xml"
target="app/src/main/res/xml/network_security_config.xml" />
<resource-file mode="merge"
src="resources/android/xml/logo_background.xml"
target="/app/src/main/res/values/colors.xml" />
<allow-intent href="market:*" />
<icon background="@color/logo_background" density="mdpi"
foreground="resources/android/icon/drawable-mdpi-icon.png" />
<icon background="@color/logo_background" density="hdpi"
foreground="resources/android/icon/drawable-hdpi-icon.png" />
<icon background="@color/logo_background" density="xhdpi"
foreground="resources/android/icon/drawable-xhdpi-icon.png" />
<icon background="@color/logo_background" density="xxhdpi"
foreground="resources/android/icon/drawable-xxhdpi-icon.png" />
<icon background="@color/logo_background" density="xxxhdpi"
foreground="resources/android/icon/drawable-xxxhdpi-icon.png" />
<preference name="AndroidWindowSplashScreenAnimatedIcon"
value="resources/splash.xml" />
<preference name="AndroidWindowSplashScreenBackground"
value="#003366" />
</platform>
---
I included all the platform section in case something else is messing with
the background.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]