Hi, I am trying to display menu options while showing an AlertDialog i.e. when MENU key is pressed, it should show whatever options that have been created. I read the following in the Dev Guide at developer.android.com -
------------------- A dialog should not have an Options menu When a dialog is displayed, pressing the MENU button should do nothing. This also holds true for activities that look like dialogs. A dialog box is recognizable by being smaller than full-screen, having zero to three buttons, is non-scrollable, and possibly a list of selectable items that can include checkboxes or radio buttons. The rationale behind not having a menu is that when a dialog is displayed, the user is in the middle of a procedure and should not be allowed to start a new global task (which is what the Option menu provides). -------------------- However, I also see that there are methods such as - onPrepareOptionsMenu(), onOptionsItemSelected() etc. which make me think it may be possible to have menu options for the dialog also. Could anyone please clarify if it is possible to have menu options for a dialog? Thanks in advance, Renu -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

