title: How to create Drawable from resource
body: <p>I have an image <code>res/drawable/test.png</code> (R.drawable.test).<br>
  I want to pass this image to a function which accepts <code>Drawable</code>, e.g. <code>mButton.setCompoundDrawables()</code>.</p>
  
  <p>So how can I convert an image resource to a <code>Drawable</code>?</p>