• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need a button which shows like poped up

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a button which shows like poped up.How can i achive this ?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does 'poped up' mean? As always, provide more details if you want an answer.
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually it means emboss.Button shoud be seen like come to up side rather plane button.
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Buttons use a background image, you would need to make a nine-patch image with the effect you want. You would have to produce variants that represent the different states of the button (enabled, focused, pressed, and the combinations there-of).

Note: ick - Android tends to use a flat UI pattern. I would recommend your application follow the same standards so as not to look excessively out-of-place on the android device.

http://developer.android.com/design/building-blocks/buttons.html
http://developer.android.com/guide/topics/ui/controls/button.html
http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic