How to show a vertical line on the background, such as the one highlighted in blue on the image below?
You can replace your ImageView with something like this:
and of course in your first and last element you need to manipulate the height of the View and align it to Top or Bottom
View