I\'m using a template from Android Studio that used AppCompat Toolbar. Unfortunately, the toolbar casts shadow on the status bar so it doesn\'t
That's because of :
- @android:color/transparent
i guess.
Got it, check this:
http://developer.android.com/training/material/theme.html#StatusBar
To set a custom color for the status bar, use the
android:statusBarColorattribute when you extend the material theme. By default,android:statusBarColorinherits the value ofandroid:colorPrimaryDark.
And you've set it to transparent.this is not a good way for doing that since Google put this code for you:
- @color/colorPrimaryDark
And also, instead of: