Strings don't have color.  Things that display strings do.

On Mar 18, 11:38 pm, AlexNguyen <[email protected]> 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" +
>         "Department: " + "\t" + this.Department + "\n" +
>         "Title: " + "\t" + this.Title + "\n";
>
> I want set color: "Name, Country, ... " are RED.
>
> I don't know in Android can do it?
>
> Thanks,
>
> --Alex.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to