3 offers:
1
Try this: turn off system scaling when you decode a resource by setting BitmapFactory.Options.inScaled to false:
Options options = new BitmapFactory.Options(); options.inScaled = false; Bitmap source = BitmapFactory.decodeResource(context.getResources(), R.drawable.bg, options);
The inScaled flag should be disabled if you need an inScaled version of the bitmap.
Then scale the bitmap with Bitmap.createScaledBitmap(...) .
2
Another possible reason is that your black diagonal tile lines contain different shades of gray:
This is a close-up of your tile:

It smoothes out before resizing. Any pixels that are not completely black can appear as a lighter color in the changed lines. You can change the lines of the lines to be completely black (0xFF000000), and do the smoothing only after resizing.
3
Another solution to this problem is to create your tile as follows:

This avoids the problem of drawing two smoothed diagonal lines next to each other.
source share