/** * 更改图片颜色 * @param drawable * @param color * @return */ public Drawable getDrawable(Drawable drawable,int color){ drawable.setColorFilter(color, PorterDuff.Mode.MULTIPLY); return drawable; }