Now in some of latest google app you see transparent status bar eg. Google Music app. Bellow is a simple code to implement that you can add this code after you set your activity view inside onCreate method.


getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS,
WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);

Also note that i test this code above  > 21 not sure about bellow version. 🙂