I need something that looks like a popup menu in Android 1.5 that I can trigger from a button press.
(the version number is a hard limit, by the way)
According to the documentation, an ordinary popup menu is supported, but only in Android 3.x and higher.
I’d prefer to do it without adding another Activity, but can if that’s the best option.
I already have the menu defined in XML, I just need to figure out how to make it display.
I think you are looking for a
Dialog. I recommend you to useAlertDialog, as it is easier to use through its Builder class. You will be able to use your custom XML to define the layout for the Dialog.It is available since API level 1, so you would not have problems. Here you have doc info AlertDialog