text.setBackgroundColor(Color.parseColor("#0077aa"));
动态设置字体颜色
text.setTextColor(Color.parseColor("#ffffff"));