ActionSheetForAndroid alternatives and similar packages
Based on the "Menu Widget" category.
Alternatively, view ActionSheetForAndroid alternatives based on common mentions on social networks and blogs.
-
SlidingMenu
An Android library that allows you to easily create applications with slide-in menus. You may use it in your Android apps provided that you cite this project and include the license in your app. Thanks! -
Side-Menu.Android
Side menu with some categories to choose. -
Context-Menu.Android
You can easily add awesome animated context menu to your app. -
AndroidResideMenu
The idea of ResideMenu is from Dribbble 1 and 2. It has come true and run in iOS devices. iOS ResideMenu This project is the RefsideMenu Android version. The visual effect is partly referred to iOS version of ResideMenu. And thanks to the authors for the above idea and contribution. -
android-menudrawer
*DEPRECATED* A slide-out menu implementation, which allows users to navigate between views in your app. -
CircularFloatingActionMenu
an animated circular menu for Android -
FlowingDrawer
swipe display drawer with flowing & bouncing effects. -
BottomSheet
One way to present a set of actions to a user is with bottom sheets, a sheet of paper that slides up from the bottom edge of the screen. Bottom sheets offer flexibility in the display of clear and simple actions that do not need explanation. -
android-satellite-menu
Android Satellite Menu -
ArcMenu
An android custom view which looks like the menu in Path 2.0 (for iOS). -
Material-BottomNavigation
Bottom Navigation widget component inspired by the Google Material Design Guidelines at https://www.google.com/design/spec/components/bottom-navigation.html -
PowerMenu
:fire: Powerful and modernized popup menu with fully customizable animations. -
LuseenBottomNavigation
BottomNavigationView Designed according Google guideLine -
DropDownMenu
DropDownMenu for Android,Filter the list based on multiple condition. -
FilterMenu
An implemention of Filter Menu concept for android -
RibbonMenu
Navigation menu for Android (based off Google+ app) -
ActionsContentView
ActionsContentView is an standalone library implements actions/content swiping view (AKA Side Navigation UI Pattern, AKA Facebook side menu). The library doesn't use any specific code introduced in new Android SDK versions. This allows develop an application with an action/content swiping view for every version of Android from 2.2 and up. -
Android Wheel Menu
Simple and easy to use circular menu widget for Android. -
MultiCardMenu
A multicard menu that can open and close with animation on android -
SideNavigation
Implementation of "Side Navigation" or "Fly-in app menu" pattern for Android (based on Google+ app) -
BlurNavigationDrawer
Android - Blur Navigation Drawer like Etsy app. -
Android-CircleMenu
Menu with items on a rotating circle -
simple-side-drawer
Simple library which enable you to add a drawer(slide-out) navigation to your android application -
GoogleNavigationDrawerMenu
Android Library for a DrawerLayout similar to the one in Google Apps -
android-floating-action-menu
Floating Action Menu for Android. Inspired by the Google Plus floating menu -
Android-NewPopupMenu
Android-NewPopupMenu is an android library to create popup menu with GoogleMusic app-like style. -
Metaball-Menu
A menu consisting of icons (ImageViews) and metaball bouncing selection to give a blob effect. Inspired by Material design -
AndroidPullMenu
An Android Library that allows users to pull down a menu and select different actions. It can be implemented inside ScrollView, GridView, ListView. -
SlidingUpMenu
🚀 A very customizable library that allows you to present menu items (from menu resource and/or other sources) to users as a bottom sheet.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ActionSheetForAndroid or a related project?
README
ActionSheet
This is like iOS UIActionSheet component, has iOS6 and iOS7 style, support custom style, background, button image, text color and spacing etc.
Usage
Add dependency
dependencies {
compile 'com.baoyz.actionsheet:library:1.1.7'
}
Create ActionSheet and show
ActionSheet.createBuilder(this, getSupportFragmentManager())
.setCancelButtonTitle("Cancel")
.setOtherButtonTitles("Item1", "Item2", "Item3", "Item4")
.setCancelableOnTouchOutside(true)
.setListener(this).show();
Methods
setCancelButtonTitle()
Cancel button title, (String)setOtherButtonTitles()
Item buttons title,(String[])setCancelableOnTouchOutside()
Touch outside to close, (boolean)setListener()
set a Listener to listen eventshow()
Show ActionSheet, returnActionSheet
Object,calldismiss()
method ofActionSheet
to close.
Listen event
implementing ActionSheetListener
interface.
onOtherButtonClick()
Click item event,index
is item index.onDismiss()
Dismiss event.
@Override
public void onOtherButtonClick(ActionSheet actionSheet, int index) {
Toast.makeText(getApplicationContext(), "click item index = " + index,
0).show();
}
@Override
public void onDismiss(ActionSheet actionSheet, boolean isCancle) {
Toast.makeText(getApplicationContext(), "dismissed isCancle = " + isCancle, 0).show();
}
Style
Default style is bad,ActionSheet has iOS6 and iOS7 style,you can configure the theme.
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<item name="actionSheetStyle">@style/ActionSheetStyleiOS6</item>
or
<item name="actionSheetStyle">@style/ActionSheetStyleiOS7</item>
</style>
You can custom style, can refer to ActionSheetStyleiOS6/ActionSheetStyleiOS7 writing.
<!-- iOS7 Style -->
<style name="ActionSheetStyleiOS7">
<item name="actionSheetBackground">@android:color/transparent</item>
<item name="cancelButtonBackground">@drawable/slt_as_ios7_cancel_bt</item>
<item name="otherButtonTopBackground">@drawable/slt_as_ios7_other_bt_top</item>
<item name="otherButtonMiddleBackground">@drawable/slt_as_ios7_other_bt_middle</item>
<item name="otherButtonBottomBackground">@drawable/slt_as_ios7_other_bt_bottom</item>
<item name="otherButtonSingleBackground">@drawable/slt_as_ios7_other_bt_single</item>
<item name="cancelButtonTextColor">#1E82FF</item>
<item name="otherButtonTextColor">#1E82FF</item>
<item name="actionSheetPadding">10dp</item>
<item name="otherButtonSpacing">0dp</item>
<item name="cancelButtonMarginTop">10dp</item>
<item name="actionSheetTextSize">12sp</item>
</style>
Style attributes
actionSheetBackground
cancelButtonBackground
otherButtonTopBackground
otherButtonMiddleBackground
otherButtonBottomBackground
otherButtonSingleBackground
cancelButtonTextColor
otherButtonTextColor
actionSheetPadding
otherButtonSpacing
cancelButtonMarginTop
actionSheetTextSize