Is there really no XML attribute counterpart to setAlpha(int)?
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.
alpha
android:alpha="0.0" thats invisible
android:alpha="0.0"
android:alpha="0.5" see-through
android:alpha="0.5"
android:alpha="1.0" full visible
android:alpha="1.0"
That's how it works.
2.1m questions
2.1m answers
60 comments
57.0k users