sprockets/src/main/java/net/sf/sprockets/graphics/drawable/Drawables.java
@Nullable
    public static Drawable tint(Context context, @DrawableRes int drawableId, @AttrRes int attrId) {
        Drawable d = context.getDrawable(drawableId);
        if (d != null) {
            d.setTint(Themes.getColor(context, attrId));
        }
        return d;
    }
@Nullable
    public static Drawable tint(Context context, @DrawableRes int drawableId, @AttrRes int attrId) {
        Drawable d = context.getDrawable(drawableId);
        if (d != null) {
            d.setTint(Themes.getColor(context, attrId));
        }
        return d;
    }
@ Nullable public static Drawable tint ( Context context , @ DrawableRes int drawableId , @ AttrRes int attrId ) { Drawable d = context . getDrawable ( drawableId ) ; if ( d != null ) { d . setTint ( Themes . getColor ( context , attrId ) ) ; } return d ; }
Tint the Drawable with the color specified by the attribute in the Context's theme.

@return null if the drawable does not exist
@since 4.0.0
Tint the Drawable with the color specified by the attribute in the Context s theme .