Jason Proctor wrote:
 >> Jason Proctor wrote:
 >>>  why is the transparency for drawables attached to ImageButtons not
 >>>  honoured? i have to change them to ImageViews so they look right.
 >>
 >> I have no such problems. You can see them working just fine here:

 http://github.com/commonsguy/cw-android/tree/master/Resources/Images/

http://github.com/commonsguy/cw-andtutorials/tree/master/36-AdvAppWidget/LunchList/


 here's an example. three images from the same family, all have
 transparent backgrounds. the first is declared as <ImageButton>, the
 others are declared as <ImageView>.

 http://redfish.net/transparency/device.png

That's what they're supposed to look like. Buttons have backgrounds, so
the transparent bits in the image show the button's background. Having
transparent bits in the image blow past the button background to
whatever is under the button would be very strange behavior.

thanks!

i set @null as the button's background, and there it is.

problem is that my image editor shows transparency as kinda silvery...


--
jason.vp.engineering.particle

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