This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Android and the fly likes curved button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "curved button" Watch "curved button" New topic
Author

curved button

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1225
can we create curved buttons in Android ?
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

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


Steve
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1225
i found good one.

http://android-er.blogspot.com/2012/07/create-round-button.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: curved button