optionmenu - What is the difference between Option Menu and Panel Menu in Android? -


I accidentally created a panel menu with autocomplete and I did not feel it before reading my code As I wanted an option menu, I do not see a slight difference in the display, so nobody knows what's the difference between these 2 menus? Is there any benefit or defect to use one or the other? The only difference I saw was (I did not go into the description):

  Create Options menu on the Public Boolean (menu menu)  

or

  Public boolean onCreatePanelMenu (int feature id, menu menu)  

Thanks (it should not be a reward?)

< After calling "post-text" itemprop = "text">

onCreatePanelMenu to addSubMenu by the menu class goes. It seems that this is a unique and badly documented feature. Here is a reference from the book.


Comments