check this out
http://stackoverflow.com/questions/5784158/android-set-text-color-dynamically-for-string-variable-to-be-appended
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@goog
Strings don't have color. Things that display strings do.
On Mar 18, 11:38 pm, AlexNguyen wrote:
> I have the String, how can I set color the text in String?
> For example:
>
> String S1;
> S1 = "Name: " + "\t" + this.Name1 + "\n" +
> "Country/Area: " + "\t" + this.Country1 + "\n" +
2 matches
Mail list logo