Sets drawableResolver as the foreground image without manually resolving the value through the context.