-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Different Ways to Boom
Weiping Huang edited this page May 13, 2017
·
4 revisions
Different animations when the buttons boom or re-boom.
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:
-
BoomEnum.LINE
(in .java) orapp:bmb_boomEnum="boomLine"
(in .xml)
-
BoomEnum.PARABOLA_1
(in .java) orapp:bmb_boomEnum="boomParabola_1"
(in .xml)
-
BoomEnum.PARABOLA_2
(in .java) orapp:bmb_boomEnum="boomParabola_2"
(in .xml)
-
BoomEnum.PARABOLA_3
(in .java) orapp:bmb_boomEnum="boomParabola_3"
(in .xml)
-
BoomEnum.PARABOLA_4
(in .java) orapp:bmb_boomEnum="boomParabola_4"
(in .xml)
-
BoomEnum.HORIZONTAL_THROW_1
(in .java) orapp:bmb_boomEnum="boomHorizontalThrow_1"
(in .xml)
-
BoomEnum.HORIZONTAL_THROW_2
(in .java) orapp:bmb_boomEnum="boomHorizontalThrow_2"
(in .xml)
-
BoomEnum.RANDOM
(in .java) orapp:bmb_boomEnum="boomRandom"
(in .xml)
This boom-enum will randomly pick up the other boom-enums to make animations.
- Basic Usage
- Simple Circle Button
- Text Inside Circle Button
- Text Outside Circle Button
- Ham Button
- Share Style
- Custom Position
- Button Place Alignments
- Different Ways to Boom
- Ease Animations for Buttons
- Different Order for Buttons
- Other Animations Attributes for Buttons
- Click Event and Listener
- Control BMB
- Use BMB in Action Bar
- Use BMB in Tool Bar
- Use BMB in List
- Use BMB in Fragment
- Attributes for BMB or Pieces on BMB
- Cache Optimization & Boom Area
- Change Boom Buttons Dynamically
- Fade Views
- Version History
- Structure for BMB