I have a translucent problem statusbaronly when opening the application for the first time. Take a look at the screenshot:
When you open Navigation Drawerthis error appears, but only when you first open the application. When I close the application and start it again, everything works fine.
Here is the XML of the style that I am using that includes a translucent status bar:
<resources>
<style name="TransTheme" parent="android:Theme.Holo.Light">
<item name="android:windowBackground">@drawable/actionbar_background</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:fitsSystemWindows">true</item>
<item name="android:actionBarStyle">@style/ActionBar.GreenStyle</item>
</style>
<style name="ActionBar.GreenStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid">
<item name="android:background">@drawable/actionbar_background</item>
</style>
</resources>
source
share