Question: how to set notification bar color in android?
Answer: Android Lollipop brought with it the ability to change the color of status bar in your app for a more immersive user experience and in tune with Google's Material Design Guidelines . Here is how you can change the color of the status bar using the new window. setStatusBarColor method introduced in API level 21 .