views:

327

answers:

1

Hi,

I got a pattern (.png image 4x4px) and have to fill the layout with it.

Does anyone know how to do it?

If I simply select the drawable as a background the image is streched but it has to be repeated along the x and y axis.

+1  A: 

Here is a really nice explanation.

As is the case with many Android good practices/handy tricks, it can be traced back to Romain Guy.

Dimitar Dimitrov
That guy is freaking prolific. Go Romain Guy!!!
fiXedd