Thanks, I'll have a try.
Do you know a way to achieve the same in .xml?

On Jan 17, 5:41 pm, android_soft <cspeche...@gmail.com> wrote:
> getBaseContext().getResources().getDrawable
> (android.R.drawable.list_selector_background)
>
> On Jan 17, 2:49 am,gsmd<gsm...@gmail.com> 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" <hack...@android.com> wrote:
>
> > > It's not a color, it's a drawable.
>
> > > On Fri, Jan 16, 2009 at 1:26 PM,gsmd<gsm...@gmail.com> wrote:
>
> > > > Where's the color used for selection e.g. in ListView?
> > > > TIA.
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to