获取textview字体颜色
求要做一个重复判断//只能用字号的颜色区分
int textViewColor =tvTextColorTitle.getCurrentTextColor();
// 获取@android:color/xx 的方法
int textViewColor = textview.getCurrentTextColor(); int redColor = ContextCompat.getColor(this, R.color.colorWhite);
Log.e(TAG, "replaceAnswer: "+textViewColor+" "+" "+redColor );
//白色是-1