Using the design lib 22.2.0
, how can I manage to put the content behind the StatusBar
(in my case it's a map) and to color the StatusBar
in semi transparent primary dark color (could be semi transparent red)
See picture from another SO post:
I'm not using the ScrimInsetFrameLayout
.
I tried setting fitsSystemWindows="false"
on the DrawerLayout
so my content can lay behind the status bar but the color isn't applied to it.
If I set fitsSystemWindows="true"
applies the color to the StatusBar
but the content does not lay behind it.
This question is a duplicate:
The answer in this post works: Lollipop : draw behind statusBar with its color set to transparent