How to make any html color code semi transparent [Android]

User7723337 picture User7723337 · Jul 9, 2013 · Viewed 28.3k times · Source

I have one Android application were i have one shape and in that i have one solid tag.

I want to make this shape 20% transparent with above color code.
How should i do that?

Answer

Andy Res picture Andy Res · Jul 9, 2013

If the color is represented in hexadecimal, like #424242, then adding two more digits in front of this "number" will represent the transparency, ex: #66424242. (66 in this example)
You can play a bit until arrive at desired effect.