-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fade Views
Weiping Huang edited this page May 26, 2017
·
2 revisions
Add faded views on BMB.
Sometimes you may wanna add an image or text to BMB. This can be achieved by:
<com.nightonke.boommenu.BoomMenuButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:bmb_dotRadius="0dp">
<ImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/butterfly"
android:layout_gravity="center" />
</com.nightonke.boommenu.BoomMenuButton>
The fade-views added to BMB will perform fade-in and fade-out animations when booming and rebooming. When BMB has a fade-view, you may want to remove the pieces. BMB does not provide any methods to remove pieces, but there is a trick to do so:
app:bmb_dotRadius="0dp"
Check demo for more details.
- 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