For example, button.setTextColor(Color.CYAN) should work.

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The coverage you need at the price you want

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.



On Sep 17, 7:22 am, WoodManEXP <woodman...@gmail.com> wrote:
> Experimenting with some UI ideas I wanted to change the color in a
> button view some time after it had been initially drawn. So it seemed
> like calling .setTextColor() should do it. But it does not cause the
> color of the button text to change.
>
> Have even tried calling .invalidate() to force a redraw, no luck.
>
> Does anyone know the procedure for changing the color of the text in
> a
> button after it has been initially drawn?
>
> Thank you!
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to