Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

public class Main {
    public static int adjustAlphaColor(int i, float f) {
        return Color.argb(Math.round((float) Color.alpha(i) * f), Color.red(i), Color.green(i), Color.blue(i));
    }
}