alitalaee commented on issue #1623:
URL: 
https://github.com/apache/cordova-android/issues/1623#issuecomment-2088645581

   I had the same issue and could to change splash screen background color.. 
   
   **config.xml**
   `        <preference name="AndroidWindowSplashScreenAnimatedIcon" 
value="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
   `
   **After this line i added background color change config like this**  
   
   `<preference name="AndroidwindowSplashScreenBackground" value="#E2AD81" />
   `
   **colors.xml**
   ```
   <?xml version='1.0' encoding='utf-8'?>
   <resources xmlns:tools="http://schemas.android.com/tools";>
       <color name="cdv_splashscreen_background">#E2AD81</color>
   </resources>
   ```
   
   
   **themes.xml**
   `<?xml version='1.0' encoding='utf-8'?>
   <resources>
       <style name="Theme.App.SplashScreen" 
parent="Theme.SplashScreen.IconBackground">
           <item 
name="windowSplashScreenBackground">@color/cdv_splashscreen_background</item>
           <item 
name="windowSplashScreenAnimatedIcon">@drawable/ic_cdv_splashscreen</item>
           <item name="windowSplashScreenAnimationDuration">200</item>
           <item 
name="postSplashScreenTheme">@style/Theme.AppCompat.NoActionBar</item>
       </style>
   </resources>
   `
   
   ### After add this config run below commands 
   
   > ionic cordova prepare android 
   
   > ionic cordova build android --minifycss --optimises --minifyjs --prod 
--release
   
   **it is working for** 
   
   
   


-- 
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

Reply via email to