Skip to main content


Showing posts with the label Floating Action Button

Floating Action Button – Part 3 Example in Android Studio with Source Code

In the previous article we animated our Floating Action Button between two states and in this concluding article we’ll create some mini actions which will be shown and hidden depending on the state of the FAB itself.

According to the material design guidelines a mini FAB should have the same icon size as a standard FAB, but be 40dp in diameter as opposed to the standard 56dp. So we need to define a new style for the mini FAB: res/values/styles.xml