You can make the button transparent or translucent using the background property:
android:background="#ARGB"
where A is the transparency that can be set between 0-F, i.e. 0 means transparency, and F means opacity. The remaining colors are R-Red, G-Green, B-Blue. so, for example, it could be:
android:background="#200B"
which gives a shade of blue.
This way you can provide transparency as well as a hue of transparent color for your look. This works with any view.
You can also apply this via code:
button.setBackgroundColour(0x220000BB);
Vikram Gupta
source share