title: How to exchange an image in a layer-list by a bitmap?
body: <p>Here is my Bitmap</p>
  
  <pre><code>Bitmap bitmap = BitmapFactory.decodeStream((InputStream) new URL(url).getContent());
  //Need some code to access "dynamicItem" and exchange it with my Bitmap
  </code></pre>
  
  <p>And here is my layer list (nothing spectacular). I want to exchange the dynamicItem with my Bitmap.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;layer-list
        xmlns:android="http://schemas.android.com/apk/res/android"&gt;
        &lt;item
          android:id="@+id/dynamicItem"
          android:drawable="@drawable/defaultItem" /&gt;
        &lt;item&gt;
          &lt;bitmap
  
            android:src="@drawable/some_stuff_on_top"
            android:gravity="top|left" /&gt;
        &lt;/item&gt;
      &lt;/layer-list&gt;
  </code></pre>