Manipulate alpha bytes of Java/Android color int

Check out the Color class. Your code would look a bit something like this. int color = 0xFFFFFFFF; int transparent = Color.argb(0, Color.red(color), Color.green(color), Color.blue(color)); So wrapping it in a method might look like: @ColorInt public static int adjustAlpha(@ColorInt int color, float factor) { int alpha = Math.round(Color.alpha(color) * factor); int red = Color.red(color); int … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)