Awesome
BoomMenu
2.0.0 Comes Finally
Approximately 8 months ago, I got an inspiration to creating something that can boom and show menu, which I named it Boom-Menu-Button, BMB. But at that time, I just a fresh-man in Android, knowing little about designing. The codes I wrote serveral months ago are ugly and performed low-efficient.
Between months, I always think about BMB and try to write a better design pattern for implements of BMB. My first try is BMB-iOS, which contains more family characteristics, for instance, buttons-alignment, text-inside/outside-button.
And now the BMB-Android 2.0.0 comes.
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/text-inside-button.gif" width="250"/>
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/ham-button.gif" width="250"/>
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/text-outside-button.gif" width="250">
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/actionbar-example.gif" width="250">
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/list-example.gif" width="250">
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/share-example.gif" width="250">
Gradle & Maven
compile 'com.nightonke:boommenu:2.1.1'
<dependency>
<groupId>com.nightonke</groupId>
<artifactId>boommenu</artifactId>
<version>2.1.1</version>
<type>pom</type>
</dependency>
Demo
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Apk/BoomMenu.png" width="200"> Or by link:Wiki
Check the wiki to use BMB.
Documentation Chapters
- Basic Usage
How to use BMB in just several lines of code? - Simple Circle Button
Add simple circle buttons with just an image for each to BMB.
<img src="https://github.com/Nightonke/BoomMenu/raw/master/Pictures/BoomButton/SimpleCircleButton.png" width="400"> - Text Inside Circle Button
Add text inside circle buttons with a text and image inside for each to BMB.
<img src="https://github.com/Nightonke/BoomMenu/raw/master/Pictures/BoomButton/TextInsideCircleButton.png" width="400"> - Text Outside Circle Button
Add text outside circle buttons with a text and image outside for each to BMB.
<img src="https://github.com/Nightonke/BoomMenu/raw/master/Pictures/BoomButton/TextOutsideCircleButton.png" width="400"> - Ham Button
Add ham buttons with with a title, subtitle and image inside for each to BMB.
<img src="https://github.com/Nightonke/BoomMenu/raw/master/Pictures/BoomButton/HamButton.png" width="400"> - Share Style
Make a share-style BMB. - Custom Position
Customize the number and positions of pieces and boom-buttons.
<img src="https://github.com/Nightonke/BoomMenuButton-Images/raw/master/Android/CustomPosition.gif" width=300> - Button Place Alignments
Place all the buttons to anywhere on screen.
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-alignment-enum/button-place-alignment-1.png" width="200"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-alignment-enum/button-place-alignment-2.png" width="200"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-alignment-enum/button-place-alignment-3.png" width="200"> - Different Ways to Boom
Different animations when the buttons boom or re-boom.
<img src="https://github.com/Nightonke/BoomMenu/raw/master/Pictures/boom-enum/boom-enum-parabola-2.png" width="400"> <img src="https://github.com/Nightonke/BoomMenu/raw/master/Pictures/boom-enum/boom-enum-parabola-3.png" width="400"> - Ease Animations for Buttons
Use different and cute ease-animations for buttons. - Different Order for Buttons
Different order enum for boom-buttons. - Other Animations Attributes for Buttons
Delay, duration, rotate-degrees, frames... - Click Event and Listener
Listener for clicking each button or animation-states. - Control BMB
Boom or re-boom BMB programmatically. - Use BMB in Action Bar
How to put BMB in action bar? - Use BMB in Tool Bar
How to put BMB in tool bar? - Use BMB in List
Matters need attention when you need a BMB in list-view or recycler-view. - Use BMB in Fragment
Example for use BMB in fragment. - Attributes for BMB or Pieces on BMB
How to change the size or margins of dots on BMB? - Cache Optimization & Boom Area
What if I want BMB to boom in just its parent-view? - Change Boom Buttons Dynamically
Change Boom Buttons Dynamically. - Fade Views
Add faded views on BMB.
<img src="https://github.com/Nightonke/BoomMenuButton-Images/raw/master/Android/FadeViews.gif" width=300> - Version History
What's more for every version? - Structure for BMB
Structure for BMB when I designed it, for sharing and communicating.
Issues & Feedbacks
Try to tell me the bugs or enhancements about BMB, or contact me with Nightonke@outlook.com / 2584541288@qq.com. Before doing that, having a careful read on readme, wiki and issues is really helpful.
ReadMe for Version 1.0.9 or Below
If you still wanna use version 1.0.9 or below, you can find the README below:
But I strongly suggest you to use the newest version.