Reputation: 105
How to get this effects in android in file.xml?
and
Upvotes: 0
Views: 86
Reputation: 93559
You use an xml layer list drawable and put the two rectangles on top of each other. In the corners tag of your xml drawable use the topLeftRadius, topRightRadius, bottomLeftRadius, and bottomRightRadius to control whether each corner is rounded independently.
Upvotes: 1