What is the distance between 2 or more floating action buttons?

I added 2 FAB to my application (e.g. Google Maps application, see screenshot below), and I was wondering if there is a certain distance that needs to be respected between 2 FAB (from a Google Design template, documents, bible or something yet), or is it a developer who solves this distance between these buttons.

enter image description here

+6
source share
1 answer

Looking at the Google developer docs on the FAB , there is no single answer to the gap between the FAB, but he claims that

The floating button should be set to 16dp min from the edge on the mobile device and 24dp min on the tablet / desktop.

Knowing this, you can touch the buttons accordingly using the 16dp / 24dp rule.


On a side note .

When I worked with the Google Play Editorial Team to prepare my app for a feature, they indicated that the FAB should be limited to one on screen. If you need more than one, perhaps create an expandable menu. Something like that

enter image description here

+5
source

Source: https://habr.com/ru/post/982317/


All Articles