I am developing an app that has a similar screen layout to the GMail screenshot shown here
http://newbestgadget.com/wp-content/uploads/2012/09/GoTab-GTi8.jpg
My question is how to achieve the styling on the rows of the left hand side listview(?).
I assume this is achieved by the use of background images? Is this the best way to achieve this?
What would the background image look like for the item that is selected?
thanks
Yes that’s a Background image trick. The right hand side has a white nine-patch with a little drop-shadow. The small triangular portion you see on in extreme right of the selected list item is also a nine-patch image matching that of the right hand side area. This is background of a dummy view (right aligned, on top of rest of item layout) that is visible only for selected item. This way when you scroll the list the triangle also moves with it.
Detailed answer : https://stackoverflow.com/a/14032449/1531054