I\'m trying to set the status bar text color in Android v21, but I\'m not seeing an API method for it. Here\'s what I have so far for the background
MyActivity.java
You can use this line to set a darker text color when you are using the white color for the status bar.
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);