I am using setCompoundDrawables on the TextView to set an image above
the text.   I would like to set a background on just the text part of
the TextView to ensure it is visible on various backgrounds.  From
your response it seems that their is a way to set the background just
for the text?  "TextView has text & background drawable..."

On Feb 17, 12:53 pm, skink <[email protected]> wrote:
> On Feb 17, 4:21 pm, Gregory Moore <[email protected]> wrote:
>
> > I have a situation where I am using aTextViewwith an image and would
> > like to set a background on just the text part.   When I use
> > android:background it sets the background behind both the text and the
> > image.   Is there a way to have it just put the background behind the
> > text without me having to tear apart my layout and use a separate
> > ImageView with theTextView?
>
> i don't understand what you mean
>
> TextViewhas text & background drawable. what image are you talkinkg
> about?
>
> pskink

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