how can i use colors for two states

HEllo

mText.setTextColor(new ColorStateList(
                new int[][] {
                        new int[] { android.R.attr.state_selected},
                        new int[1]
                    }, new int[]
{
                        Color.rgb(255, 255, 255),
                        Color.BLACK,


                    }
         ));

like i what to use .R.attr.state_pressed then how can i do this?
can any body help me please?
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to