I am working on drawable icons for app icons.I apply different color on icon dynamically which apply successfully on icons.but when i apply blue color either its dark blue or light blue, It does not appear on icon. can anybody tell the reason please. I am using this code to apply color.
colorCode = sp.getString("initialColor", "#ffffff");
icon.setBounds(0, 0, sIconWidth, sIconHeight);
int color = Color.parseColor(colorCode);
int i = Color.argb(0,
color, color, color);
icon.mutate().setColorFilter(i, PorterDuff.Mode.MULTIPLY );