2017-03-04 7 views

答えて

0

あなたはSpannable

を使用することができます
Spannable spannable = new SpannableString(YOUR_TEXT); 

spannable.setSpan(new ForegroundColorSpan(Color.WHITE), text.length(), (text + Your_textviewlength, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 

textView.setText(spannable, TextView.BufferType.SPANNABLE); 
0

の色を変更:

setTextColor(getResources().getColor(R.color.red)); 
0

あなたはあなたのケースでは、この

yourTextView.setTextColor(color); 

か、を試すことができます:yourTextView.setTextColor(0xffbdbdbd);

関連する問題