... | ... | @@ -21,7 +21,7 @@ You can set button-enum, piece-place-enum and button-place-enum in .xml file wit |
|
|
###Add Builders
|
|
|
The builder of text inside circle button has lots of methods to customize the boom-buttons.
|
|
|
```
|
|
|
for (int i = 0; i < bmb.getButtonPlaceEnum().buttonNumber(); i++) {
|
|
|
for (int i = 0; i < bmb.getPiecePlaceEnum().pieceNumber(); i++) {
|
|
|
TextInsideCircleButton.Builder builder = new TextInsideCircleButton.Builder()
|
|
|
.listener(new OnBMClickListener() {
|
|
|
@Override
|
... | ... | @@ -158,7 +158,7 @@ for (int i = 0; i < bmb.getButtonPlaceEnum().buttonNumber(); i++) { |
|
|
```
|
|
|
**Don't need to set every attributes for boom-buttons, just customize what you want.** For example:
|
|
|
```
|
|
|
for (int i = 0; i < bmb.getButtonPlaceEnum().buttonNumber(); i++) {
|
|
|
for (int i = 0; i < bmb.getPiecePlaceEnum().pieceNumber(); i++) {
|
|
|
TextInsideCircleButton.Builder builder = new TextInsideCircleButton.Builder()
|
|
|
.normalImageRes(R.drawable.butterfly)
|
|
|
.normalText("Butter Doesn't fly!");
|
... | ... | @@ -194,22 +194,22 @@ src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/piece-place-enum |
|
|
All piece-place-enum and button-place-enum can be found in [demo](https://github.com/Nightonke/BoomMenu/blob/master/app/src/main/java/com/nightonke/boommenusample/TextInsideCircleButtonActivity.java).
|
|
|
|
|
|
1. ButtonPlaceEnum.SC_1(in .java) or bmb_buttonPlace_sc_1(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-1.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-1.png" width="100">
|
|
|
2. ButtonPlaceEnum.SC_2_M(in .java) or bmb_buttonPlace_sc_2_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-2-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-2-2.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-2-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-2-2.png" width="100">
|
|
|
3. ButtonPlaceEnum.SC_3_M(in .java) or bmb_buttonPlace_sc_3_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-1.png" width="100"><img
|
|
|
src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-3-4.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-3-1.png" width="100"><img
|
|
|
src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-3-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-3-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-3-4.png" width="100">
|
|
|
4. ButtonPlaceEnum.SC_4_M(in .java) or bmb_buttonPlace_sc_4_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-4-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-4-2.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-4-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-4-2.png" width="100">
|
|
|
5. ButtonPlaceEnum.SC_5_M(in .java) or bmb_buttonPlace_sc_5_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-5-4.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-5-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-5-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-5-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-5-4.png" width="100">
|
|
|
6. ButtonPlaceEnum.SC_6_M(in .java) or bmb_buttonPlace_sc_6_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-4.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-5.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-6-6.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-6-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-6-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-6-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-6-4.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-6-5.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-6-6.png" width="100">
|
|
|
7. ButtonPlaceEnum.SC_7_M(in .java) or bmb_buttonPlace_sc_7_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-4.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-5.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-7-6.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-7-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-7-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-7-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-7-4.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-7-5.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-7-6.png" width="100">
|
|
|
8. ButtonPlaceEnum.SC_8_M(in .java) or bmb_buttonPlace_sc_8_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-4.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-5.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-6.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-8-7.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-8-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-8-2.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-8-3.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-8-4.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-8-5.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-8-6.png" width="100"> <img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-8-7.png" width="100">
|
|
|
9. ButtonPlaceEnum.SC_9_M(in .java) or bmb_buttonPlace_sc_9_M(in .xml)
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-9-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-9-2.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/button-place-enum-sc-9-3.png" width="100">
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-9-1.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-9-2.png" width="100"><img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/button-place-enum/text-inside-circle-button/button-place-enum-sc-9-3.png" width="100">
|
|
|
|