title: Can I assign a id to a drawable, which I construct programmatically?
body: <p>A drawable, which was created by XML, can be referenced in code by </p>
  
  <pre><code>    R.drawable.my_drawable
  </code></pre>
  
  <p>So, I assume that drawables do have a resource id.</p>
  
  <p>When I look through the docs, i cant find a method:</p>
  
  <pre><code>    myDrawable.setId(id)
  </code></pre>
  
  <p>So, though I can construct a drawable in code, i dont see how I can assign a id to a drawable, which I created in code? </p>