Thanks Jack. That worked for me too... :) Actually i tried using button.setTextColor(R.color.white); Which is not worked. Then i tried what you said solved the issue..
On Thursday, 17 September 2009 21:14:11 UTC+5:30, Jack Ha wrote: > > 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 <[email protected]> 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 [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

