Status bar transparent on android!


#1

Hello,

I would like to have a statusbar with an invisible background.

However when I do this:

statusBar.overlaysWebView (true);
statusBar.styleBlackOpaque ();

I opt for a transparent statusbar but the text (loading bar, time, ect …) is placed on the header …

How to do it since the header has a gradient background?


#2

I just had a padding-top to this and its work BUT the statusbar “overlaysWebView” is resizing after like 3 seconds…