This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

curved button

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we create curved buttons in Android ?
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...)
 
sam liya
Ranch Hand
Posts: 1240
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic