Skip to content Skip to sidebar Skip to footer

Setting Bitmapdrawable Tilemode Makes The App Restart

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: Setting tileMod

Solution 1:

Although this thread was not exactly about the same problem I had, it helped me accidentally. Setting the layerType of the layout in question to software like

  • android:layerType="software", or

  • view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

made the black backgrounds and the app restarts disappear.

It turned out also, that making the background images smaller didn't solve the problem, it only made it appear less often.

Thanks for the help pskink anyway!

Post a Comment for "Setting Bitmapdrawable Tilemode Makes The App Restart"