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");

Comments

Popular posts from this blog

Open Gallery and get the selected image in appplication

AlarmManager and Notification in Android

Dismiss or Cancel dialog by swipe gesture