Top "Android-contextmenu" questions

Tag for questions about the creation and use of the Android context menu.

Android opening context menu after button click

I want to open context menu when I click a button, but also I have to know which list item …

android listview android-contextmenu
How to open Menu Context Android with click button in listview adapter?

How to open Menu Context Android with click button in listview adapter ? I tried with my code, but not show …

android listview adapter android-contextmenu
getMenuInflater( ) method undefined issue in Android Context Menu creation

I am trying to create a context menu item inside a fragment. But I am facing issue with the getMenuInflater() …

android contextmenu android-menu android-contextmenu
contextual action mode in fragment - close if not focused?

i implemented a contextual action mode bar in a nested fragement. This fragment is part of a view pager and …

android android-viewpager android-contextmenu android-actionmode
Inappropriate Context Menu within a Fragment

I have an activity with a Navigation Drawer and a fragment. Each of them has his own ListView with a …

android android-fragments navigation-drawer android-contextmenu
Opening a floating menu (context menu) in Android?

I created a new menu, named drmenu.xml. It works correctly when i press menu button, but I need to …

android android-menu android-contextmenu
Get selected item in a ListItem ContextMenu

I have a ListView which creates a ContextMenu on long press of one of its elements. How do I find …

android android-listview android-contextmenu
Triggering a PopupMenu with buttons inside a ListView item

Types of Menu Let me start by outlining the distinction between Contextual Menus and Popup Menus (taken from here): A …

android listview android-contextmenu
Enable/Disable item selection at listview in multiple choice mode

I have a listview registered for context menu in multiple choice mode: private void initListViewForContextMenu(){ log.d("FilesFragment", "initListViewForContextMenu()"); ListView …

android android-listview android-contextmenu