Android: IIA equivalent of UIActionSheet

I am converting an iOS application and must implement the equivalent of UIActionSheet from iOS to Android.

Which user interface element most closely mimics this.

I am targeting Android 2.2 and above.

+5
source share
2 answers

You must use an AlertDialog or Dialog object. The AlertDialog class does what you ask for. The dialog allows you to customize more.

Edit: if you need the same animation effect, you will need to use SlidingDrawer.

Note. None of these classes, with the possible exception of AlertDialog, are as easy to use as UIActionSheet.

+7
source

Bottom Sheet - , 23.2. - , , , IOS UIActionSheet, .

compile 'com.android.support:design:<latest-library-version>' gradle.

- https://material.google.com/components/bottom-sheets.html#

+3

All Articles