... | @@ -20,6 +20,20 @@ app:bmb_hideDuration="500" |
... | @@ -20,6 +20,20 @@ app:bmb_hideDuration="500" |
|
app:bmb_frames="60"
|
|
app:bmb_frames="60"
|
|
```
|
|
```
|
|
|
|
|
|
|
|
### Cancelable and Auto-Hide
|
|
|
|
If the `cancelable` property of BMB is `true`, then when after the boom animation of booming, you can re-boom BMB by clicking the background.
|
|
|
|
|
|
|
|
If the `autoHide` property of BMB is `true`, then when after the boom animation of booming, you can click one of the boom-buttons to re-boom BMB.
|
|
|
|
```
|
|
|
|
bmb.setCancelable(false);
|
|
|
|
bmb.setAutoHide(false);
|
|
|
|
```
|
|
|
|
Or in .xml:
|
|
|
|
```
|
|
|
|
app:bmb_cancelable="false"
|
|
|
|
app:bmb_autoHide="false"
|
|
|
|
```
|
|
|
|
|
|
### 3D Animation
|
|
### 3D Animation
|
|
From version 2.1.0, 3D animations of boom-buttons are supported:
|
|
From version 2.1.0, 3D animations of boom-buttons are supported:
|
|
```
|
|
```
|
... | | ... | |