I\'m trying to have a border on the outside of my listview and a different color for every other row at the same time
Rewrite
You have obviously read: How do you put a border around a ListView? since you are using the code from the better / more popular answer. But read the bottom answer as well, I had success by adding 2dp padding (the same width as the border.)
2dp