Parse Color Value - Android Graphics

Android examples for Graphics:Color Value

Description

Parse Color Value

Demo Code


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

public class Main {

    public static int getColorValue(String rgb) {
        return Color.parseColor(rgb);
    }/*from   w w w  . j  a v  a2  s.c  om*/
}

Related Tutorials