I’m making an app on Android and when I add a button with Eclipse’s plugin the button is transparent.
For example:
http://kakko76.free.fr/buttontransparent.png
But I don’t want a transparent button!
I tried with background attribute on button but I losed the other effect on click or others.
How can I just disable button’s transparency?
Thanks.
By default the button shouldn’t be transparent. However you could just create a Selector for your Button, so you can set it as its background but still have a click-effect whenever you click it.
These are the default images for the Button in API Level <10 :
The selector:
And the images you’ll find in your
e.g: