Custom Dialog with listview and listitems having different background at alternate items?
===

I am creating a custom dialog having two images as a title and a listview inside the dialog.
in that listview there is some items i am showing and now i want that the items in the listview should get different background?
like suppose i have 5 items to show in a list view then the items in position 1,3,5 are having different background than items at position 2,4.
is it possible and if yes then plz help me
Thanks in advance