I want to open context menu when I click a button, but also I have to know which list item is focused when I click the button. Do you know how to do that? What code should be in onclick method?
I want to open context menu when I click a button, but also I
Share
I was looking for the same, and found that instead of context menu, you should use Dialogs
http://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog