Android代码动态设置标题颜色

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

  

posted @ 2021-07-23 14:57  Ender.Lu  阅读(141)  评论(0)    收藏  举报