... | @@ -2,7 +2,7 @@ |
... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
Place all the buttons to anywhere on screen.
|
|
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:
|
|
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);
|
|
bmb.setButtonPlaceAlignmentEnum(ButtonPlaceAlignmentEnum.BL);
|
... | @@ -33,7 +33,7 @@ Bottom-Left. |
... | @@ -33,7 +33,7 @@ Bottom-Left. |
|
9. ButtonPlaceAlignmentEnum.BR(in .java) or buttonPlaceAlignment_br(in .xml)
|
|
9. ButtonPlaceAlignmentEnum.BR(in .java) or buttonPlaceAlignment_br(in .xml)
|
|
Bottom-Right.
|
|
Bottom-Right.
|
|
|
|
|
|
###More Accurate
|
|
### More Accurate
|
|
Boom-buttons is able to customize the margin between surroundings. For example:
|
|
Boom-buttons is able to customize the margin between surroundings. For example:
|
|
```
|
|
```
|
|
bmb.setButtonTopMargin(10);
|
|
bmb.setButtonTopMargin(10);
|
... | | ... | |