code: public static Drawable getWrappedDrawable(Context context, @DrawableRes int resId) throws Resources.NotFoundException {
          return DrawableCompat.wrap(ResourcesCompat.getDrawable(context.getResources(),
                  resId, null));
      }
docs: Gets a reference to a given drawable and prepares it for use with tinting through.
  
  @param resId the resource id for the given drawable
  @return a wrapped drawable ready fo use
  with {@link android.support.v4.graphics.drawable.DrawableCompat}'s tinting methods
  @throws Resources.NotFoundException