... | @@ -77,7 +77,15 @@ for (int i = 0; i < bmb.getButtonPlaceEnum().buttonNumber(); i++) { |
... | @@ -77,7 +77,15 @@ for (int i = 0; i < bmb.getButtonPlaceEnum().buttonNumber(); i++) { |
|
bmb.addBuilder(builder);
|
|
bmb.addBuilder(builder);
|
|
}
|
|
}
|
|
```
|
|
```
|
|
Don't need to set every attributes for boom-buttons, just customize what you want. After adding builders to BMB, it is ready for a boom.
|
|
Don't need to set every attributes for boom-buttons, just customize what you want. For example:
|
|
|
|
```
|
|
|
|
for (int i = 0; i < bmb.getButtonPlaceEnum().buttonNumber(); i++) {
|
|
|
|
SimpleCircleButton.Builder builder = new SimpleCircleButton.Builder()
|
|
|
|
.normalImageRes(R.drawable.jellyfish);
|
|
|
|
bmb.addBuilder(builder);
|
|
|
|
}
|
|
|
|
```
|
|
|
|
After adding builders to BMB, it is ready for a boom.
|
|
|
|
|
|
### Piece Place Enum for Simple Circle Button
|
|
### Piece Place Enum for Simple Circle Button
|
|
| Number of Button | VHPiecePlaceEnum | Images |
|
|
| Number of Button | VHPiecePlaceEnum | Images |
|
... | | ... | |