Tiled drawable sometimes stretches

I also got bitten by this problem. Very hard to diagnose, even harder to find similar reports and usable solutions. “Tapas” on the freenode #android-dev irc channel came with the following utility method: public static void fixBackgroundRepeat(View view) { Drawable bg = view.getBackground(); if (bg != null) { if (bg instanceof BitmapDrawable) { BitmapDrawable bmp … Read more