Android has 2 types of colors: R.color and color
Layout uses R.color
(I need holo_blue_light: 17170450 (0x01060012)
)
but functions (such as setColor()) have the other type of input int (i.e. CYAN: -16711681 (0xff00ffff)
).
Negation of R.color
returns incorrect colors. What should I do to convert them?