Answers for "change color of drawable android studio"

0

change color of drawable android studio

public static Drawable setTint(Drawable d, int color) {
    Drawable wrappedDrawable = DrawableCompat.wrap(d);
    DrawableCompat.setTint(wrappedDrawable, color);
    return wrappedDrawable;
}
Posted by: Guest on August-22-2021

Code answers related to "change color of drawable android studio"

Browse Popular Code Answers by Language