globules-io commented on issue #1699: URL: https://github.com/apache/cordova-android/issues/1699#issuecomment-2117023141
A proper approach would be to add a variable like <preference name="AndroidIconBackgroundColor" value="#742A84" /> Which would create the variable in colors.xml such as <?xml version='1.0' encoding='utf-8'?> <resources xmlns:tools="http://schemas.android.com/tools"> <color name="cdv_splashscreen_background">#742A84</color> <color name="cdv_icon_background">#742a84</color> </resources> Then we should use <icon density="ldpi" background="@color/cdv_icon_background" foreground="res/icons/android/icon-36.png" /> -- 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