... | ... | @@ -43,6 +43,7 @@ for (int i = 0; i < bmb.getPiecePlaceEnum().pieceNumber(); i++) { |
|
|
// Whether the image-view should rotate.
|
|
|
.rotateImage(false)
|
|
|
```
|
|
|
#### Shadow
|
|
|
```
|
|
|
// Whether the boom-button should have a shadow effect.
|
|
|
.shadowEffect(true)
|
... | ... | @@ -67,6 +68,7 @@ for (int i = 0; i < bmb.getPiecePlaceEnum().pieceNumber(); i++) { |
|
|
// Set the color of the shadow of boom-button.
|
|
|
.shadowColor(Color.parseColor("#ee000000"))
|
|
|
```
|
|
|
#### Image
|
|
|
```
|
|
|
// Set the image resource when boom-button is at normal-state.
|
|
|
.normalImageRes(R.drawable.jellyfish)
|
... | ... | @@ -104,6 +106,7 @@ for (int i = 0; i < bmb.getPiecePlaceEnum().pieceNumber(); i++) { |
|
|
// image-view content 10-pixel padding to itself.
|
|
|
.imagePadding(new Rect(0, 0, 0, 0))
|
|
|
```
|
|
|
#### Button
|
|
|
```
|
|
|
// Whether the boom-button should have a ripple effect.
|
|
|
.rippleEffect(true)
|
... | ... | |