Splash background color Windows 8 Cordova Tools

纵然是瞬间 提交于 2019-12-24 13:33:29

问题


I am using Visual Studio and the Cordova tools plugin. How can I change the background of the splash screen. The image provided does not cover the entire screen.


回答1:


Change setting on config.xml

<preference name="BackgroundColor" value="0xff0000ff"/>



回答2:


Use this npm module https://www.npmjs.com/package/cordova-splash you have to create one image that is 2208x2208 and it will generate all the required formats from that



来源:https://stackoverflow.com/questions/27807491/splash-background-color-windows-8-cordova-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!