Android Question Button with bitmap

Cenny

Active Member
Licensed User
Longtime User
When I make a button with rounded corners and a bitmap as background and place this on a colored panel, I keep seeing this little corners of the button.
What am I doing wrong?
 

DonManfred

Expert
Licensed User
Longtime User
remove the padding and/or set the radius to 0
 
Upvote 0

Cenny

Active Member
Licensed User
Longtime User
I like to keep those rounded corners.
What do you mean by removing the padding?
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Your bitmap must have the rounded corners.
That means that the corners must be transparent in the bitmap.
CornerRadius is only valid for ColorDrawables.
 
Upvote 0
Top