Parse color from ARGB Color #AARRGGBB - Android Graphics

Android examples for Graphics:Color RGB Value

Description

Parse color from ARGB Color #AARRGGBB

Demo Code


//package com.java2s;
import android.graphics.Color;

public class Main {
    public static int toARGBColor(String colorString) {
        return Color.parseColor(colorString);
    }// w w  w.j  a v a  2  s.c o m
}

Related Tutorials