Android Question Image inside a button

masskyy

Member
Hello all,

I wish put an image inside a button, so Ive added a button in my layout, setting up this as statelistdrawable, and selected a image. But after that only the picture is into the screen, the button dissapears. What I want to know is how put a button with his corners and others properties, and including a image in the center. Y tried changing the gravity to center, but it doesnt work. Any idea?
 
Top