Monday, April 9, 2012

Re: [android-developers] ImageView with a XML gradient background and a image ontop.

Use the following attributes on ImageView:

android:background
android:src

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Apr 9, 2012 at 8:47 AM, MarkG123 <mark.gillespie@gmail.com> wrote:
Anyone know it's it's possible to have a XML gradient AND an image in a single ImageView? I have an expandable listview, and I want to overlay an expand and collapse arrow over to match the gradient TextView next to it.

I have been playing with layer-list and not had much luck.  Is this even possible?  Is there a better way to approach this problem?

Thanks.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment