Open vallemar opened 10 months ago
Please complete the following information:
When I create a ColorPickerDialog and add a setPositiveButton the getHexCode() method of colorEnvelope returns another code.
ColorPickerDialog
setPositiveButton
getHexCode()
Example:
colorEnvelope.getColor() -> -261120 colorEnvelope.getHexCode() -> FFFC0431 Integer.toHexString(colorEnvelope.getColor()).substring(2) -> fc0431
Integer.toHexString(colorEnvelope.getColor()).substring(2) I found it here and it seems to work fine https://stackoverflow.com/a/6544482/6015400
Integer.toHexString(colorEnvelope.getColor()).substring(2)
Please complete the following information:
When I create a
ColorPickerDialog
and add asetPositiveButton
thegetHexCode()
method of colorEnvelope returns another code.Example:
Integer.toHexString(colorEnvelope.getColor()).substring(2)
I found it here and it seems to work fine https://stackoverflow.com/a/6544482/6015400