Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the equivalent of ActionSheetIOS in Android?

Does React Native have an equivalent of ActionSheetIOS for Android? Some sort of popup menu of options to choose from?

like image 686
ffxsam Avatar asked Jan 28 '16 04:01

ffxsam


People also ask

Does Android have action sheets?

The same design". But Action Sheets are ABSOLUTELY different in Android. If you spend some time reading some UX books about Android UX, you'll learn that the ActionSheets should be displayed on the TopRight corner, or in a center modal, depending on the content to show.

What is Actionsheet in react native?

React Native Action Sheet is a cross-platform React Native component that uses the native UIActionSheet on iOS and a pure JS implementation on Android.


2 Answers

Does React Native have an equivalent of ActionSheetIOS for Android?

No, Native ActionSheet View is not available in Android. but can develop it by using Bottom sheets Component concept.

Some sort of popup menu of options to choose from?

Some ActionSheetIOS equivalent View source code is available on Github like:

1. Flipboard/bottomsheet

2. tutti-ch/android-bottomsheet

like image 66
ρяσѕρєя K Avatar answered Oct 01 '22 14:10

ρяσѕρєя K


You could use this package:

https://github.com/exponentjs/react-native-action-sheet

The android part is implemented using JS only

like image 33
Sibelius Seraphini Avatar answered Oct 01 '22 12:10

Sibelius Seraphini