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.
1.4m articles
1.4m replys
5 comments
57.0k users