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
  • Button Place Alignments

Button Place Alignments · Changes

Page history
Updated Button Place Alignments (markdown) authored Mar 28, 2017 by Weiping Huang's avatar Weiping Huang
Show whitespace changes
Inline Side-by-side
Button-Place-Alignments.md
View page @ f068b573
......@@ -2,7 +2,7 @@
Place all the buttons to anywhere on screen.
###Button Place Alignments
### Button Place Alignments
In version 2.0.0 or above, the place-alignment of boom-buttons on the screen(or its parent-view) is able to customized. This is helpful when BMB is used in pad(picture above). You can set this attribute by:
```
bmb.setButtonPlaceAlignmentEnum(ButtonPlaceAlignmentEnum.BL);
......@@ -33,7 +33,7 @@ Bottom-Left.
9. ButtonPlaceAlignmentEnum.BR(in .java) or buttonPlaceAlignment_br(in .xml)
Bottom-Right.
###More Accurate
### More Accurate
Boom-buttons is able to customize the margin between surroundings. For example:
```
bmb.setButtonTopMargin(10);
......
Clone repository
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. Different Order for Buttons
  11. Other Animations Attributes for Buttons
  12. Click Event and Listener
  13. Control BMB
  14. Use BMB in Action Bar
  15. Use BMB in List
  16. Use BMB in Fragment
  17. Attributes for BMB or Pieces on BMB
  18. Cache Optimization & Boom Area
  19. Version History
  20. Structure for BMB