How to set alternate row color in a gridview? I have searched a lot of tutorial about how to set grid view row colors,but nothing about gridview row color. I got list view w
Use custom Adaptor and in Custom adaptor you will be having method getView
Use this code in your getView Method
if(position % ( 2*columnCount ) == 0) { // set first color } else { // set alternate row's color }