The material design documentation has an example of Google Maps showing two floating action buttons next to one another (actually, one above the other).
It is a combination of layout gravity and anchor gravity together with playing with the margins (of the anchored item) that can make it work, have a look at the xml below which I have used successfully: