Setting BitmapDrawable tileMode makes the app restart
<p>While on most of the devices my app is working fine, on some devices (LG G3, Samsung Galaxy S6 so far) I have experienced a strange error, I can not really unfold: </p>

<p>Setting <code>tileMode</code> (either via XML or programmatically) to anything (<code>clamp</code>/<code>repeat</code>/<code>mirror</code>) on a <code>BitmapDrawable</code>, that is the backround of a layout, makes that background completely black-, and the app restart after ~20 seconds - without any sign of anything going wrong (no messages in LogCat, none of these callbacks of my activity is called: <code>onPause()</code>, <code>onStop()</code>, <code>onDestroy()</code>).</p>

<p>As there were some inconsistency among these freezes/crashes depending on the <code>Bitmap</code> being used, I started playing around with the <code>.png</code> images, and figured out, that I can get rid of (most of) these crashes, if I reduce the size of these images (&lt;200x200).</p>

<p>Since </p>

<ul>
<li><p>there are still some crashes and</p></li>
<li><p>I can not be sure about that size threshold for all the devices</p></li>
</ul>

<p>I am still looking for a general solution, maybe some of you can help me with.</p>