FAQ Database Discussion Community


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

android,android-5.0-lollipop,android-4.4-kitkat,android-statusbar
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...

Android statusbar icons color

android,android-5.0-lollipop,android-styles,android-statusbar
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....

colorPrimary and colorPrimaryDark are ignored within application theme

android,android-actionbar,android-statusbar
(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...

Android transparent status bar and actionbar

android,android-actionbar,android-toolbar,appcompat-v7-r21,android-statusbar
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.