1
I am creating button in my application like this
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 with the background totally transparent, I wanted to know if there is some way to leave partially transparent, some way to control