setBackgroundDrawable() sets the Drawable to use as a background; it doesn't draw on top of the existing background. To do what you want, you'll have to load the opaque background, draw the transparent overlay on top of it, create a BitmapDrawable from the composite image, then use that as your button's background.
-- 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