Material design header bar for ionic

Hi guys,
Is there any way to get this kind of view using ionic header bar that overlap with android status bar

Thank you.

I dont see difference between your image and a regular ionic header.

Hi pcr,
Regular ionic header looks like this. It shows status bar in dark background which is default to android.

Statusbar and header are 2 different things. The statusbar is device specific. Allthough you can change statusbar with cordiva plugin statusbar. This has nothing todo with material.

If you want to change the color of both: statusbar color can be changed by the statusbar plugin. The color of the Ionic header by sass.

ya, I am trying to get this effect using ionic, Is there any possibility to get this this done. you tested with this

Hi @newmesis,
I tried this one but it didn’t work for me. Is there any changes need to be done in config.xml file also. I just tried with code that give in the plugin documentation in ngCordva page

ud that that system is working?
It gives an error?
could make debugging to see the log in android and know what is happening

Oh no, I checked the device log with chrome inspect device option. It shows an error Uncaught TypeError: Cannot read property 'overlaysWebView' of undefined.

Chrome does not work, you should test the device live

I was able to do it on a live android device (5.0+) with this in my run phase

@mhartington, this doesn’t work for me. However I able to get that effect by editing config.xml file. I added following two lines to that file and it worked for me. And I also added the this plugin.

<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarBackgroundColor" value="#FF7043" />

these two lines are added under widget in that XML file

Thanks guys for your support.

how did you achieve that kind of header bar… it is not working for me… the statusbar overlaps to my header bar…