Is there really no XML attribute counterpart to setAlpha(int)
?
If not, what alternatives are there?
It's easier than the other response.
There is an xml value alpha
that takes double values.
android:alpha="0.0"
thats invisible
android:alpha="0.5"
see-through
android:alpha="1.0"
full visible
That's how it works.