Add utility method for rendering views to drawables