thanks megha

i have checked it i want to do it pro grammatically

like this want to check how color state list works for multiple
states?


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,

                    }
         ));

On Apr 23, 12:57 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> Please see the thread 
> below:http://groups.google.com/group/android-developers/msg/0714e077e25d63a6
>
> Thanks,
> Megha
>
> On Wed, Apr 23, 2008 at 12:47 AM, Greg <[EMAIL PROTECTED]> wrote:
>
> > i am really very sorry Megha
>
> > i have searched the groupd i ddint find soultuion
>
> > Regards
>
> > Greg
>
> > On Apr 23, 12:16 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> > > Hi Greg,
>
> > > This issue has been discussed on the groups multiple times, please use
> > > search on the groups.
> > > You may also want to avoid using "Urgent" in the subject line for every
> > > post.
>
> > > Thanks,
> > > Megha
>
> > > On Tue, Apr 22, 2008 at 3:25 AM, Greg <[EMAIL PROTECTED]> wrote:
>
> > > > 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