Wednesday, February 17, 2016

How to get a Color from hexadecimal Color String

To get the color int from hexadecimal string use the parseColor() methood from android.graphics.Color class

eg: int color = Color.parseColor("#FFFF0000");

No comments:

Post a Comment

Androidians