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. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.0 Available! -- 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

