[Logo]
Forums Register Login
curved button
can we create curved buttons in Android ?
Yes. But how you do it depends on what you mean by curved buttons.

Generally, you use Drawables as a background to define a button's shape. For simple things you could use a Shape, but if you can use 9-Patch images to get more complex (shading, complex curves, etc...)
i found good one.

http://android-er.blogspot.com/2012/07/create-round-button.html
The knights of nee want a shrubbery. And a tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 701 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 17, 2018 01:56:28.