tags:

views:

47

answers:

3

I would like to have the following screen in my application: button at the bottom of the screen; when user presses the button, a list with a number of items will appear and user should be able to click one of those to start another activity. The number of items can be different (depending on some other conditions); the popup is to be adjusted to the button. How would you suggest implementing this?

Thanks a lot.

EDIT: One of the options is PopupWindow. Is there anything better than that?

A: 

You can easily achieve this using a ListView or ListActivity.

or you may also consider using spinners.

youssef azari
A: 

PopupWindow is great for that. Here's a nice sample http://code.google.com/p/simple-quickactions/.

Fedor
yes, this works for me. thanks
Asahi