public static void setGrayScale(ImageView v){ ColorMatrix matrix = new ColorMatrix(); matrix.setSaturation(0); //0 means grayscale ColorMatrixColorFilter cf = new ColorMatrixColorFilter(matrix); v.setColorFilter(cf); }
thanks for that :)
thanks for that :)
답글삭제