List of usage examples for android.view Window setTitleColor
@Deprecated public abstract void setTitleColor(@ColorInt int textColor);
From source file:android.app.Activity.java
protected void onTitleChanged(CharSequence title, int color) { if (mTitleReady) { final Window win = getWindow(); if (win != null) { win.setTitle(title);/*from ww w .j av a 2 s .c o m*/ if (color != 0) { win.setTitleColor(color); } } } }