FAQ Database Discussion Community

Android transparent status bar and actionbar

I've done a few researches on this topic and I couldn't find a complete solution so, step by step and with some trial and error, I finally find out how can we achieve these results: having a transparent or coloured Actionbar and Statusbar. See my answer bellow.

Android statusbar icons color

I was wondering if it's possible to change the statusbar icons colour (not the statusbar colour, colorPrimaryDark) Let's say I want this statusbar with: <item name="colorPrimaryDark">@android:color/white</item> and the icons in black, is it possible? Thanks....

Get rid of Android L automatic opacity tint when using windowTranslucentStatus = true

Anyone know how to get rid of this automatic tint when you use windowTranslucentStatus = true? I already have status bar colour set to transparent but when I enable windowTranslucentStatus, it seems to override that. If I disable windowTranslucentStatus, then I get the desired status bar colour but I can...

colorPrimary and colorPrimaryDark are ignored within application theme

(Note: This is somewhat related to When using ActionMode, the status bar turns black on Lollipop so there might be some additional information there that I accidentally omitted from this question) I have the following theme defined: <style name="Material" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">@color/app_green</item> <item name="colorPrimaryDark">@color/app_green_dark</item> <item name="android:textColorPrimary">@color/action_bar_text</item> <item...