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