You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2020. It is now read-only.
Watch a short **[Demo Video](https://youtu.be/4jtDpmeod68)** on YouTube or try it using **[Android simulator in the browser](https://appetize.io/app/ffreudbwmyedw5trzhyjknd2jg)** on Appetize.io.
11
11
12
12
# Screenshots
13
-

13
+

14
14
15
15
# Features
16
16
- Ripple effect on Android Lollipop devices
@@ -19,14 +19,19 @@ Watch a short **[Demo Video](https://youtu.be/4jtDpmeod68)** on YouTube or try i
19
19
- Option to disable shadow for buttons and (or) labels
20
20
- Option to set custom animations
21
21
- Option to set custom icon drawable
22
-
- Support for **normal**`56dp` and **mini**`40dp` button sizes.
22
+
- Support for **normal**`56dp` and **mini**`40dp` button sizes
23
23
- Custom FloatingActionMenu icon animations
24
+
-*Option to expand menu up and down*
25
+
-*Option to show labels to the left and to the right of the menu*
26
+
-*Option to show circle progress on `FloactinActionButton`*
27
+
-*Option to add button to the `FloatingActionMenu` programmatically*
28
+
-*Option to dim the `FloatinActionMenu`'s background*
24
29
25
30
# Usage
26
31
Add a dependency to your `build.gradle`:
27
32
```
28
33
dependencies {
29
-
compile 'com.github.clans:fab:1.4.0'
34
+
compile 'com.github.clans:fab:1.5.0'
30
35
}
31
36
```
32
37
Add the `com.github.clans.fab.FloatingActionButton` to your layout XML file.
@@ -79,7 +84,13 @@ Here are all the **FloatingActionButton**'s xml attributes with their **default
79
84
app:fab_size="normal"
80
85
app:fab_showAnimation="@anim/fab_scale_up"
81
86
app:fab_hideAnimation="@anim/fab_scale_down"
82
-
app:fab_label="" />
87
+
app:fab_label=""
88
+
app:fab_progress_color="#FF009688"
89
+
app:fab_progress_backgroundColor="#4D000000"
90
+
app:fab_progress_indeterminate="false"
91
+
app:fab_progress_max="100"
92
+
app:fab_progress="0"
93
+
app:fab_progress_showBackground="true"/>
83
94
```
84
95
All of these **FloatingActionButton**'s attributes has their corresponding getters and setters. So you can set them **programmatically**.
85
96
@@ -124,7 +135,10 @@ Here are all the **FloatingActionMenu**'s xml attributes with their **default va
0 commit comments