ExpandableButtonMenu alternatives and similar packages
Based on the "Button Widget" category.
Alternatively, view ExpandableButtonMenu alternatives based on common mentions on social networks and blogs.
-
Android-Bootstrap
Bootstrap style widgets for Android, with Glyph Icons -
circular-progress-button
Android Circular Progress Button -
FloatingActionButton
[DEPRECATED] Android floating action button -
SwitchButton
A cute widget of Switch Button for you to create beautiful and friendly UI. -
android-process-button
Android Buttons With Built-in Progress Meters. -
fancybuttons
Icons, Borders, Radius ... for Android buttons -
android-circlebutton
Circle button widget for Android -
android-flat-button
FButton - a flat button library for Android -
FABProgressCircle
Material progress circle around any FloatingActionButton. 100% Guidelines. -
Floating Navigation View
A simple Floating Action Button that shows an anchored Navigation View -
ArrowDownloadButton
A download button with pretty cool animation -
FabButton
Android Floating ActionButton with a progress indicator ring -
CounterFab
A FloatingActionButton subclass that shows a counter badge on right top corner -
StickySwitch
โญ๏ธ beautiful switch widget with sticky animation โญ๏ธ -
SlideSwitch
A widget you can slide it to open or close something -
HoldingButton
Button which is visible while user holds it. Main use case is controlling audio recording state (like in Telegram, Viber, VK). -
๐ MediumClap-Android
๐ The Medium's Clapping Effect developed in Android -
easyloadingbtn
This is a Material Design loading button -
SubmitDemo
comtomize view submit button which you use for submit operation or download operation and so on. -
hkm-progress-button
Base on android-process-button this is the advanced version of the android-process-button. -
Rx.Widgets
Materially inspired widgets and views that expose RxJava bindings. -
Composable Button Toggle Group
ComposableButtonToggleGroup is the implementation of MaterialButtonToggleGroup for Jetpack Compose -
code7800
Simplified Codes. https://github.com/san7800/code7800 -
Hugo Example
Bersikaplah terbuka terhadap setiap peluang secara fotografis. Memotret apa pun yang menarik mata Anda
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 ExpandableButtonMenu or a related project?
README
ExpandableButtonMenu
ExpandableButtonMenu is an Android library which implements an expandable button that can be used as a substitute of a fixed size menu. It is a Foursquare like button that expands into three buttons.
Including in your project
The library is available on Maven Central
dependencies {
compile 'co.lemonlabs:expandable-button-menu:1.0.0'
}
Usage
The library supports Android 2.3+.
Just include this view to your root layout (current only RelativeLayout is supported):
<lt.lemonlabs.android.expandablebuttonmenu.ExpandableMenuOverlay
android:id="@+id/button_menu"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:src="@drawable/circle_home"
/>
Custom attributes can be used for easy customization. Add this to your layout declaration:
xmlns:ebm="http://schemas.android.com/apk/res-auto"
and you can use these attributes
ebm:dimAmount="0.8" // Screen dim amount when menu is expanded
ebm:mainButtonSize="0.25" // Main button size in % of screen height
ebm:otherButtonSize="0.22" // Expanded menu button size in % of screen height
ebm:distanceY="0.17" // Distance between expanded and collapsed button in screen % of screen height
ebm:distanceX="0.28" // Distance between expanded button in % of screen width
ebm:bottomPad="0.02" // Button padding in % of screen height
// Button drawable and text resources
ebm:closeButtonSrc="@drawable/circle_close"
ebm:leftButtonSrc="@drawable/circle_1"
ebm:midButtonSrc="@drawable/circle_2"
ebm:rightButtonSrc="@drawable/circle_3"
ebm:leftButtonText="@string/action_left"
ebm:midButtonText="@string/action_mid"
ebm:rightButtonText="@string/action_right"
In your activity/fragment add the callbacks:
menuOverlay = (ExpandableMenuOverlay) findViewById(R.id.button_menu);
menuOverlay.setOnMenuButtonClickListener(new ExpandableButtonMenu.OnMenuButtonClick() {
@Override
public void onClick(ExpandableButtonMenu.MenuButton action) {
switch (action) {
case MID:
// do stuff and dismiss
menuOverlay.getButtonMenu().toggle();
break;
case LEFT:
// do stuff
break;
case RIGHT:
// do stuff
break;
}
}
});
Acknowledgements
- Thanks to Rockmelt android app for inspiration. Unfortunately, their app is no longer available.
- NineOldDroids for allowing back porting the library.
Developed By
License
Copyright 2013 Lemon Labs
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=======
*Note that all licence references and agreements mentioned in the ExpandableButtonMenu README section above
are relevant to that project's source code only.