Reputation: 177
Can anyone tell me how I can create a custom rounded button in Android (like the one you see in the middle of the picture)?
Upvotes: 1
Views: 247
Reputation: 799
you can use this online button generator which also makes rounded buttons http://angrytools.com/android/button/
Upvotes: 0
Reputation: 11608
Every View
on Android is a rectangle. Considering your picture, let's take a look at the Views
(the lines represent View
bounds):
The trick is that the big round Button
in the middle simply overlaps the other two in some particular Layout
. I've quickly tested this assumption and was able to achieve pretty much the same result, here's a screenshot illustrating how this can be done quite easily:
Upvotes: 1