|
|
Different animations when the buttons boom or re-boom.
|
|
|
|
|
|
### Boom Enum
|
|
|
To make BMB boom more vivider and more interesting, you can choose the following boom-enums by:
|
|
|
```
|
|
|
bmb.setBoomEnum(BoomEnum.HORIZONTAL_THROW_1);
|
|
|
```
|
|
|
Or in .xml:
|
|
|
```
|
|
|
app:bmb_boomEnum="boomHorizontalThrow_1"
|
|
|
```
|
|
|
The default value is `BoomEnum.HORIZONTAL_THROW_2`, check the effects and enums below:
|
|
|
|
|
|
1. `BoomEnum.LINE`(in .java) or `app:bmb_boomEnum="boomLine"`(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/boom-enum/boom-enum-line.png">
|
|
|
|
|
|
2. `BoomEnum.BoomEnum.PARABOLA_1`(in .java) or `app:bmb_boomEnum="boomParabola_1"`(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/boom-enum/boom-enum-parabola-1.png">
|
|
|
|
|
|
3. `BoomEnum.BoomEnum.PARABOLA_2`(in .java) or `app:bmb_boomEnum="boomParabola_2"`(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/boom-enum/boom-enum-parabola-2.png">
|
|
|
|
|
|
4. `BoomEnum.BoomEnum.PARABOLA_3`(in .java) or `app:bmb_boomEnum="boomParabola_3"`(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/boom-enum/boom-enum-parabola-3.png">
|
|
|
|
|
|
5. `BoomEnum.BoomEnum.PARABOLA_4`(in .java) or `app:bmb_boomEnum="boomParabola_4"`(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/boom-enum/boom-enum-parabola-4.png">
|
|
|
|
|
|
6. `BoomEnum.BoomEnum.HORIZONTAL_THROW_1`(in .java) or `app:bmb_boomEnum="boomHorizontalThrow_1"`(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/boom-enum/boom-enum-horizontal-throw-1.png">
|
|
|
|
|
|
7. `BoomEnum.BoomEnum.HORIZONTAL_THROW_2`(in .java) or `app:bmb_boomEnum="boomHorizontalThrow_2"`(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/boom-enum/boom-enum-horizontal-throw-2.png"> |