Set the color of the status bar using Chrome Mobile apps

I would like to set the status bar to both the color of the block and transparent, as in the Google Now application.

Is this possible, and if so, how?

+3
source share
1 answer

Chrome Apps on Apache Cordova mobile devices and we decided to enable the statusbar plugin by default .

We have included the following statusbar plugin by default:

<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarBackgroundColor" value="#000000" />

Basically, this means that the content of your application does not overlap the status bar (the content shifts down, as on iOS 6), and the default color is black. This was a good standard for Chrome apps, but it's not a perfect design for iOS 7.

, config.xml . StatusBarOverlaysWebView true , cca prepare. (, padding-top html).

config.xml , ( , ). <preference>, plugins/ README.md , cordova .

+2

All Articles