Currently I have a DrawerLayout with a menu layout and a content (detail page) layout. However as I open the menu, the status bar hides. All the things I have been reading online explain how to keep the status bar above the menu / transparent. I have not found any details on keeping the status bar always visible.
I have my views offset from the top by 25 dp. I also have tried setting FitsSystemWindows to true. My views are positioned where I want, but the status bar has a mind of it's own and hides to a black bar when the drawer is open.
The following is my style for the main activity:
<style name="custom" parent="Theme.AppCompat.Light.NoActionBar"> <item name="windowNoTitle">true</item> <item name="windowActionBar">false</item> <item name="android:windowFullscreen">true</item> <item name="android:actionBarSize">0dp</item> <item name="android:buttonStyle">@style/NoShadowButton</item> <item name="android:windowDrawsSystemBarBackgrounds">true</item> </style>