| android.view.ContextMenu | 
Extension of Menu for context menus providing functionality to modify the header of the context menu. 
Context menus do not support item shortcuts and item icons.
 To show a context menu on long click, most clients will want to call registerForContextMenu(View) and override onCreateContextMenu(ContextMenu, View, ContextMenu.ContextMenuInfo). 
For information about creating menus, read the Menus developer guide.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | ContextMenu.ContextMenuInfo | Additional information regarding the creation of the context menu. | |||||||||
| [Expand] 
           Inherited Constants
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From interface android.view.Menu | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  |  | 
           Clears the header of the context menu.
           | |||||||||
|  |  | 
           Sets the context menu header's icon to the icon given in 
           icon 
            Drawable. | |||||||||
|  |  | 
           Sets the context menu header's icon to the icon given in 
           iconRes resource id.
           | |||||||||
|  |  | 
           Sets the context menu header's title to the title given in 
           title.
           | |||||||||
|  |  | 
           Sets the context menu header's title to the title given in 
           titleRes resource identifier.
           | |||||||||
|  |  | 
           Sets the header of the context menu to the 
            Viewgiven in 
           view. | |||||||||
| [Expand] 
           Inherited Methods
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From interface android.view.Menu | |||||||||||
Sets the context menu header's icon to the icon given in iconRes resource id.
| iconRes | The resource identifier used for the icon. | 
|---|
Sets the context menu header's title to the title given in title.
| title | The character sequence used for the title. | 
|---|
Sets the context menu header's title to the title given in titleRes resource identifier.
| titleRes | The string resource identifier used for the title. | 
|---|