You can do this with BitmapShader:
Bitmap bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.images);
fillBMPshader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
mPaint.setShader(fillBMPshader);
source
share