Java tutorial
//package com.java2s; import android.graphics.ColorMatrix; import android.graphics.ColorMatrixColorFilter; import android.widget.ImageView; public class Main { public static void changeBrightness(ImageView imageview, float brightness) { ColorMatrix matrix = new ColorMatrix(); matrix.set(new float[] { 1, 0, 0, 0, brightness, 0, 1, 0, 0, brightness, 0, 0, 1, 0, brightness, 0, 0, 0, 1, 0 }); imageview.setColorFilter(new ColorMatrixColorFilter(matrix)); } }