Answers for "android convert color to int"

0

chnage hex color to int color in android

String white = "#ffffff";
int whiteInt = Color.parseColor(white);
Posted by: Guest on October-06-2020
0

convert int color to hex android

String hexColor = String.format("#%06X", (0xFFFFFF & intColor));
Posted by: Guest on January-19-2021

Code answers related to "android convert color to int"

Browse Popular Code Answers by Language