In my application I have a dual-pane layout with a list on the left side. I would like to add an indicator at the right of the selected list row, as in the following examples:


I assume it is a built-in function, but I couldn’t find any documentation on it. Does anyone knows how we implement this ?
Without having a look at the code, I couldn’t say for sure, but I’m pretty certain that the indicator is not a built-in feature. It might be a custom view, but most likely they just set a compound drawable, as is described here:
BitmapDrawable and here: TextView
The method you are looking for is setCompoundDrawables().