A normal ImageButton with default padding embeds a rectangular image
into a frame with rounded corners.  What I would like to do is
eliminate that padded frame and still have transparent rounded
corners.  If I set:

android:padding="0px"

in the XML for the ImageButton, then the frame around the  button
disappears, but the button has sharp corners - not rounded.  I suppose
I could edit my images to make transparent rounded corners, but isn't
there a more straightforward way to do it?  I'm looking for something
that will automatically erase (make transparent) the corners of my
image when padding = 0.

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