Solution 1:

Try this

android:background="@null"

Solution 2:

android:background="@android:color/transparent"

Solution 3:

You can also set it using java code

myTextView.setBackgroundColor(Color.TRANSPARENT);

Solution 4:

  1. in xml file you use this property:

    android:background="@android:color/transparent"

  2. and in java file run time in onCreate method use:

    edittext.setBackgroundColor(Color.TRANSPARENT);

Solution 5:

Very simple:

android:alpha="0.5"