Is it possible to set the color of the text's scope in textview?
I would like to do something similar to the twitter app, in which a piece of text is blue. See the image below:
Another answer would be very similar, but the need to set text of TextView Will not be
TextView TV = (TextView) Find VVBID (RID. MaitexView 001); Spannable verdotspain = new span label string ("I know how to crack, and I know how to cry, I know where to get the answer"); WordtoSpan.setSpan (New foreground Collarspan (Color. BLUE), 15, 30, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); TV.setText (wordtoSpan);
Comments
Post a Comment