kukuk
App-Anbieter (kostenlos)
- 29
Ich habe ein Code Schnipsel gefunden von einen ColorPicker, bei dem der Wert z.b. -3336476 ist.
text1.setText(String.format("Current color: 0x%08x", color));
wird aus -3336476 -> 0xffcd16e4
Wie kann ich das wieder umkonvertier?
color ist eine Int Variable.
text1.setText(String.format("Current color: 0x%08x", color));
wird aus -3336476 -> 0xffcd16e4
Wie kann ich das wieder umkonvertier?
color ist eine Int Variable.