I'm creating button in my application so
final Button btCategoria = (Button) LayoutInflater.from(this).inflate(R.layout.button, null);
btCategoria.setId((int) listenerCategoria.id);
btCategoria.setText(listenerCategoria.nome+"("+getSize((int) listenerCategoria.id)+" fotos)");
Layout
<Button xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:id="@+id/btCategoria" />
This way the button is completely transparent, I would like to know if there is some way to make it partly transparent, some way to control