MaterialDrawer: I can't make the status bar full transparent
Hello,
I want to set the status bar background color to completely transparent. But i can’t change it stays half transparent (black), i just can’t change it.
I tried set them in my theme
<style name="AppThemeMeterialCompat" parent="MaterialDrawerTheme.Light.DarkToolbar.TranslucentStatus">
<item name="colorPrimaryDark">@android:color/transparent</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowTranslucentStatus">true</item>
</style>
and them in the builder
.withTranslucentStatusBar(true)
.withFullscreen(true)
Please help
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 15 (5 by maintainers)
@buraktamturk you can achieve this by doing following:
@pesjak this answer is outdated. please see the sample app for various implementations, including one with a fullscreen behavior.
the flags are btw. plain android here. and the “|” and so on are binary operations
Thanks buddy is Its working