White gap in tableview rows
I have a table view with rows populated with images. Each image shares the same color background, creating a nice feel to the app, except there's this really annoying 1 pixel white strip in between each row. This is on iPhone. I haven't tested on Android yet.
Notice the 1 pixel strip in between the red, turquoise, and yellow rows.
I've tried everything from setting each row's background color to black, their border to black, the table view's background to black, border to black, etc… Nothing works.
Ideally, I would like to make that gap 0 pixels tall. I would settle with being able to change its color.
Any suggestions?
1 Answer
-
Accepted Answer
You need to set the separatorStyle of the table to
Titanium.UI.iPhone.TableViewSeparatorStyle.NONE