Android代码动态设置标题颜色

View bv = this.findViewById(android.R.id.title);
((TextView) bv).setTextColor(Color.WHITE);
((View) bv.getParent()).setBackgroundColor(Color.RED);

  

原文地址:https://www.cnblogs.com/coolyylu/p/15048894.html