breautek commented on issue #1796: URL: https://github.com/apache/cordova-android/issues/1796#issuecomment-2786423711
Should be doable via the [config-file](https://cordova.apache.org/docs/en/12.x-2025.01/config_ref/index.html#config-file) directive. Untested example: ```xml <widget ... xmlns:android="http://schemas.android.com/apk/res/android"> ... <platform name="android"> ... <config-file target="themes.xml" parent="/resources/style"> <item name="android:windowSplashScreenBehavior">icon_preferred</item> </config-file> </platform> </widget ``` Couple of notes: 1. to use the `android` XML namespace, you need to add the `xmlns:android` attribute on the `widget` tag if you don't already have one. 2. the [windowSplashScreenBehaviour](https://developer.android.com/reference/android/R.attr#windowSplashScreenBehavior) setting is only honoured on API 33 or later. I'm not sure if it will cause issues on earlier devices. Cordova should setup the files on the `prepare` command, so you can use `cordova prepare android` to test, then take a look at `/platforms/android/app/src/main/res/values/themes.xml` to make sure you're augmentation was taken. Prepare is implicitly ran on build & run as well. Because this doesn't describe a bug I'm also going to transfer this to the main cordova repo as a discussion. -- 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: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org