andreszs commented on issue #1290:
URL: https://github.com/apache/cordova-docs/issues/1290#issuecomment-1698236554
Thanks Norman, instead of dealing all the plugins I simply added this to my
**config.xml** to have the proper style set automatically on build time:
```xml
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge"
target="/manifest/application">
<activity android:theme="@style/Theme.App.SplashScreen"></activity>
</edit-config>
```
For anyone else in search for this solution, this requires the XML namespace
`xmlns:android="http://schemas.android.com/apk/res/android"` in your `widget
`element in config.xml.
I've wasted a complete afternoon at work dealing with this after updating to
cordova-android-11. A small footnote in the
[Quirks](https://cordova.apache.org/docs/en/11.x/core/features/splashscreen/index.html#android)
section would've been really useful.
--
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]