How to configure Status Bar color when application is loading with Cordova?

血红的双手。 提交于 2019-12-21 05:12:05

问题


I created an application with Cordova. I want to improve the UI/UX so it looks like a native application, as much as possible.

When the application loads for the 1st time, the first milliseconds (less than 1 second actually) the Status Bar (and Background) has not the color I configured with the Cordova Plugin for Status Bar, as you can see there.

This blue is something linked to my Android Version/Installation, all menus and settings have the same mandatory color. The Android Version I have currently is 7.0

After the first milliseconds, the Status Bar and the Background become the ones I actually configured.

Also, when I open the menu of recent applications, we find this same color. I'd like to set that color. Is this possible?

来源:https://stackoverflow.com/questions/48925640/how-to-configure-status-bar-color-when-application-is-loading-with-cordova

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