This question probably has been asked many times over here, without yielding useful answers. I’d place it here with a possible answer. Feel free to improve.
Question: How to setup popup like style of detail view, in side by side master detail view as highlighted in image below:

In this solution , I have used 9-patch background images, to define 2 kinds of backgrounds for list items. So, the selected(checked) list Item has a different background, as shown:
The list item layout’s parent view, is a class extending
LinearLayout(can be anyViewGroup) and implementingCheckable. Hence, whenListViewis set to choice mode, it can automatically check/uncheck this view. This checked state is then used byselectorbackground assigned to this view :This makes the background of list item view change automatically, without having to do it manually in code every time a list item is selected.
Result:
Additional points: