Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B BoomMenu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 114
    • Issues 114
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 黄伟平
  • BoomMenu
  • Wiki
  • Simple Circle Button

Simple Circle Button · Changes

Page history
Updated Simple Circle Button (markdown) authored Dec 10, 2016 by Weiping Huang's avatar Weiping Huang
Hide whitespace changes
Inline Side-by-side
Simple-Circle-Button.md
View page @ 9799a6a0
......@@ -92,17 +92,29 @@ After adding builders to BMB, it is ready for a boom.
### Piece Place Enum for Simple Circle Button
All piece-place-enum and button-place-enum can be found in [demo](https://github.com/Nightonke/BoomMenu/blob/master/app/src/main/java/com/nightonke/boommenusample/SimpleCircleButtonActivity.java).
| Number of Button | VHPiecePlaceEnum | Images |
| Pieces | PiecePlaceEnum(.java)<br>bmb_piecePlaceEnum(.xml) | Images |
| :-------- | :--------| :--------|
| 1 | VHPiecePlace\_DOT\_1 | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-1.png?raw=true) |
| 2 | VHPiecePlace\_DOT\_2\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-2-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-2-2.png?raw=true) |
| 3 | VHPiecePlace\_DOT\_3\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-4.png?raw=true) |
| 4 | VHPiecePlace\_DOT\_4\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-4-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-4-2.png?raw=true) |
| 5 | VHPiecePlace\_DOT\_5\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-4.png?raw=true) |
| 6 | VHPiecePlace\_DOT\_6\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-6.png?raw=true) |
| 7 | VHPiecePlace\_DOT\_7\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-6.png?raw=true) |
| 8 | VHPiecePlace\_DOT\_8\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-6.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-7.png?raw=true) |
| 9 | VHPiecePlace\_DOT\_9\_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-9-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-9-2.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-9-3.png?raw=true) |
| 1 | DOT\_1<br>piecePlace_dot_1 | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-1.png?raw=true) |
| 2 | DOT\_2\_M<br>piecePlace_dot_2_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-2-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-2-2.png?raw=true) |
| 3 | DOT\_3\_M<br>piecePlace_dot_3_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-3-4.png?raw=true) |
| 4 | DOT\_4\_M<br>piecePlace_dot_4_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-4-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-4-2.png?raw=true) |
| 5 | DOT\_5\_M<br>piecePlace_dot_5_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-5-4.png?raw=true) |
| 6 | DOT\_6\_M<br>piecePlace_dot_6_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-6-6.png?raw=true) |
| 7 | DOT\_7\_M<br>piecePlace_dot_7_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-7-6.png?raw=true) |
| 8 | DOT\_8\_M<br>piecePlace_dot_8_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-6.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-8-7.png?raw=true) |
| 9 | DOT\_9\_M<br>piecePlace_dot_9_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-9-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-9-2.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum/piece-place-enum-dot-9-3.png?raw=true) |
### Button Place Enum for Simple Circle Button
All piece-place-enum and button-place-enum can be found in [demo](https://github.com/Nightonke/BoomMenu/blob/master/app/src/main/java/com/nightonke/boommenusample/SimpleCircleButtonActivity.java).
| Buttons | ButtonPlaceEnum(.java)<br>bmb_buttonPlaceEnum(.xml) | Images |
| :-------- | :--------| :--------|
| 1 | SC\_1<br>buttonPlace_sc_1 | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-1.png?raw=true) |
| 2 | SC\_2\_M<br>buttonPlace_sc_2_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-2-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-2-2.png?raw=true) |
| 3 | SC\_3\_M<br>buttonPlace_sc_3_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-4.png?raw=true) |
| 4 | SC\_4\_M<br>buttonPlace_sc_4_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-4-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-4-2.png?raw=true) |
| 5 | SC\_5\_M<br>buttonPlace_sc_5_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-4.png?raw=true) |
| 6 | SC\_6\_M<br>buttonPlace_sc_6_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-6.png?raw=true) |
| 7 | SC\_7\_M<br>buttonPlace_sc_7_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-6.png?raw=true) |
| 8 | SC\_8\_M<br>buttonPlace_sc_8_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-2.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-3.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-4.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-5.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-6.png?raw=true) ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-7.png?raw=true) |
| 9 | SC\_9\_M<br>buttonPlace_sc_9_M | ![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-9-1.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-9-2.png?raw=true)![](https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-9-3.png?raw=true) |
\ No newline at end of file
Clone repository

#####Documentation Chapters

  1. Basic Usage
  2. Simple Circle Button
  3. Text Inside Circle Button
  4. Text Outside Circle Button
  5. Ham Button
  6. Share Style
  7. Button Place Alignments
  8. Different Ways to Boom
  9. Ease Animations for Buttons
  10. Other Animations Attributes for Buttons
  11. Click Event and Listener
  12. Control BMB
  13. Use BMB in Action Bar
  14. Use BMB in List
  15. Use BMB in Fragment
  16. Attributes for BMB or Pieces on BMB
  17. Cache Optimization & Boom Area
  18. Structure for BMB