getBaseContext().getResources().getDrawable
(android.R.drawable.list_selector_background)

On Jan 17, 2:49 am, gsmd <[email protected]> wrote:
> Thanks! Could you plz suggest how to dynamically set TextView
> background to orange? Googling for setCompoundDrawables doesn't lead
> to any solution.
> TIA.
>
> On Jan 16, 11:31 pm, "Dianne Hackborn" <[email protected]> wrote:
>
> > It's not a color, it's a drawable.
>
> > On Fri, Jan 16, 2009 at 1:26 PM, gsmd <[email protected]> wrote:
>
> > > Where's the color used for selection e.g. in ListView?
> > > TIA.
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support.  All such questions should be posted on public
> > forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to