📌  相关文章
📜  改变drawable android studio的颜色 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:29.188000             🧑  作者: Mango

代码示例1
public static Drawable setTint(Drawable d, int color) {
    Drawable wrappedDrawable = DrawableCompat.wrap(d);
    DrawableCompat.setTint(wrappedDrawable, color);
    return wrappedDrawable;
}