I am trying to convert a hex value to an int so I can create a new color drawable. I\'m not sure if this is possible, but according to the documentation, it should. It plainly a
It should be like this...
ColorDrawable cd = new ColorDrawable(0xffff6666);
Note I used 8 hex digits, not 6 hex digit . which add to transparency