title: Create a drawable from a created imageview
body: <p>I'm trying to create a drawable from an ImageView
  I know that we can do that with getressources : </p>
  
  <pre><code>Drawable drawable = getResources().getDrawable(imageview.getId());
  </code></pre>
  
  <p>But my imageview is created programmatically, I can not get the ID even with the getID() method.</p>