use a color with alpha value like this
#33------
and set it as background of your editText using the xml attribute android:background=" "
- 0% (transparent) -> #00 in hex
- 20% -> #33
- 50% -> #80
- 75% -> #C0
- 100% (opaque) -> #FF
255 * 0.2 = 51 ==> in hex 33
No comments:
Post a Comment