Creating a context menu on the click of an element inside a listview item

view story

http://stackoverflow.com – Clicking the more icon (3 vertical dots anchored to the right of the list item) opens up a context menu in Google Music: I'm trying to recreate this with what I'm guessing is a context menu. Documentation says: If your activity uses a ListView or GridView and you want each item to provide the same context menu, register all items for a context menu by passing the ListView or GridView to registerForContextMenu(). But I still want the list item itself clickable. I just want a context menu to show up when the user clicks on the more icon like it does in Google Music. So I tried th (HowTos)