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

AlarmManager and Notification in Android

Swipe Action and ViewFlipper in Android