diff --git a/.gradle/5.4.1/executionHistory/executionHistory.bin b/.gradle/5.4.1/executionHistory/executionHistory.bin
index 4420ae0..86bf526 100644
Binary files a/.gradle/5.4.1/executionHistory/executionHistory.bin and b/.gradle/5.4.1/executionHistory/executionHistory.bin differ
diff --git a/.gradle/5.4.1/executionHistory/executionHistory.lock b/.gradle/5.4.1/executionHistory/executionHistory.lock
index e59e546..224518d 100644
Binary files a/.gradle/5.4.1/executionHistory/executionHistory.lock and b/.gradle/5.4.1/executionHistory/executionHistory.lock differ
diff --git a/.gradle/5.4.1/fileHashes/fileHashes.bin b/.gradle/5.4.1/fileHashes/fileHashes.bin
index f712215..a52dfcc 100644
Binary files a/.gradle/5.4.1/fileHashes/fileHashes.bin and b/.gradle/5.4.1/fileHashes/fileHashes.bin differ
diff --git a/.gradle/5.4.1/fileHashes/fileHashes.lock b/.gradle/5.4.1/fileHashes/fileHashes.lock
index 06dbc05..e9b1ccf 100644
Binary files a/.gradle/5.4.1/fileHashes/fileHashes.lock and b/.gradle/5.4.1/fileHashes/fileHashes.lock differ
diff --git a/.gradle/5.4.1/fileHashes/resourceHashesCache.bin b/.gradle/5.4.1/fileHashes/resourceHashesCache.bin
index 0d1328e..57f6662 100644
Binary files a/.gradle/5.4.1/fileHashes/resourceHashesCache.bin and b/.gradle/5.4.1/fileHashes/resourceHashesCache.bin differ
diff --git a/.gradle/5.4.1/javaCompile/classAnalysis.bin b/.gradle/5.4.1/javaCompile/classAnalysis.bin
index ca29e03..a6bebc5 100644
Binary files a/.gradle/5.4.1/javaCompile/classAnalysis.bin and b/.gradle/5.4.1/javaCompile/classAnalysis.bin differ
diff --git a/.gradle/5.4.1/javaCompile/jarAnalysis.bin b/.gradle/5.4.1/javaCompile/jarAnalysis.bin
index 4e81903..517674a 100644
Binary files a/.gradle/5.4.1/javaCompile/jarAnalysis.bin and b/.gradle/5.4.1/javaCompile/jarAnalysis.bin differ
diff --git a/.gradle/5.4.1/javaCompile/javaCompile.lock b/.gradle/5.4.1/javaCompile/javaCompile.lock
index b71a808..7650f56 100644
Binary files a/.gradle/5.4.1/javaCompile/javaCompile.lock and b/.gradle/5.4.1/javaCompile/javaCompile.lock differ
diff --git a/.gradle/5.4.1/javaCompile/taskHistory.bin b/.gradle/5.4.1/javaCompile/taskHistory.bin
index 3dc749d..0903bc4 100644
Binary files a/.gradle/5.4.1/javaCompile/taskHistory.bin and b/.gradle/5.4.1/javaCompile/taskHistory.bin differ
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index 817e744..231e8c4 100644
Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index bd0bef7..9554383 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -9,7 +9,21 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -28,22 +42,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
- fab_close
- fab1_mail
- tv_fab_device
- onClickListener
- tv_fab_one
fabTwoText
mainFabOpenedColor
fabbMainonClickListener
@@ -87,10 +81,15 @@
fabMainIcon
fabActionOneIcon
setCus
+ keepOpenUntilAction
+ setMainIcon
+ setNumberOfActions
+ numberOfActions
+ fabb
-
+
+
-
-
-
+
+
@@ -150,6 +149,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -188,10 +204,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -368,10 +469,10 @@
-
+
-
+
@@ -386,9 +487,9 @@
-
+
-
+
@@ -488,9 +589,6 @@
-
-
-
@@ -506,21 +604,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -529,18 +612,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
@@ -596,14 +667,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
diff --git a/fabb/src/main/java/com/hbisoft/fabb/Fabb.java b/fabb/src/main/java/com/hbisoft/fabb/Fabb.java
index b34808c..3be0d57 100644
--- a/fabb/src/main/java/com/hbisoft/fabb/Fabb.java
+++ b/fabb/src/main/java/com/hbisoft/fabb/Fabb.java
@@ -80,12 +80,18 @@ private void init(Context mContext, AttributeSet attrs, int defStyleAttr) {
int fabActionOneBackgroundColor = a.getColor(R.styleable.Fabb_setActionOneBackgroundColor, defStyleAttr);
int fabActionTwoBackgroundColor = a.getColor(R.styleable.Fabb_setActionTwoBackgroundColor, defStyleAttr);
int fabActionThreeBackgroundColor = a.getColor(R.styleable.Fabb_setActionThreeBackgroundColor, defStyleAttr);
+
+ int fabActionButtonCount = a.getInteger(R.styleable.Fabb_setNumberOfActions, -1);
+
Drawable fabMainIcon = a.getDrawable(R.styleable.Fabb_setMainIcon);
Drawable fabActionOneIcon = a.getDrawable(R.styleable.Fabb_setActionOneIcon);
Drawable fabTwoIcon = a.getDrawable(R.styleable.Fabb_setActionTwoIcon);
Drawable fabThreeIcon = a.getDrawable(R.styleable.Fabb_setActionThreeIcon);
mainFabOpenedColor = a.getColor(R.styleable.Fabb_setMainFabOpenedColor, defStyleAttr);
+ if (fabActionButtonCount != -1){
+ setNumberOfActions(fabActionButtonCount);
+ }
if (fabMainBackgroundColor != 0) {
fab_main.setBackgroundTintList(ColorStateList.valueOf(fabMainBackgroundColor));
diff --git a/fabb/src/main/res/values/styles.xml b/fabb/src/main/res/values/styles.xml
index 49637b4..955b6cf 100644
--- a/fabb/src/main/res/values/styles.xml
+++ b/fabb/src/main/res/values/styles.xml
@@ -21,6 +21,8 @@
+
+
\ No newline at end of file