I have a tileable image I would like to use as the background of a ListView
. I have already set setCacheColorHint(android.R.color.transparent)
in order to view the background image properly, using setBackgroundDrawable()
.
My problem is the when I scroll the ListView
, the image stays in-place and doesn't scroll too. I'm assuming this is normal behaviour, but I would like the image to scroll with the text.
Is there any way to do that without resorting to rolling my own ListView
or setting the background of every cell's view? I'm not using XML for this, as I would like this to be dynamic.