You can't do that, you have to set the entire background to a Drawable that
provides the entire frame as well as background of the content area.

On Fri, Jan 16, 2009 at 1:49 PM, 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.
> >
>


-- 
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