The first two places are for alpha. FF means full-transparent. Change it to 00 and it should work.
On Fri, Oct 15, 2010 at 11:13 PM, Bret Foreman <[email protected]>wrote: > I created the following color state list in res/color/ > textcolorstatelist.xml: > > <selector xmlns:android="http://schemas.android.com/apk/res/android"> > <item android:state_selected="true" android:color="#FFFFFFFF"/> > <item android:state_selected="false" android:color="#FFFFFFFF"/> > </selector> > > And set the text view like this: > > textView.setTextColor(R.color.textcolorstatelist); > > Now the text draws in black whether selected or not. Doesn't #FFFFFFFF > = white? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- 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

