Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Action sheet [closed]

In iPhone, there is the concept of Action Sheet. I want to use the same functionality on a button click in Android, but Android doesn't have Action Sheet. Can anyone tell me the equivalent of Action Sheet in Android?

like image 625
ADARSH YADAV Avatar asked Apr 17 '12 11:04

ADARSH YADAV


1 Answers

You may use Popup Menu in Android

A popup menu displays a list of items in a vertical list that's anchored to the view that invoked the menu. It's good for providing an overflow of actions that relate to specific content or to provide options for a second part of a command. Actions in a popup menu should not directly affect the corresponding content—that's what contextual actions are for. Rather, the popup menu is for extended actions that relate to regions of content in your activity.

like image 117
Aziz Shaikh Avatar answered Sep 29 '22 03:09

Aziz Shaikh