@Override
    public boolean onLayoutChild(CoordinatorLayout parent, FloatingActionButton child, int layoutDirection) {
        // First let the parent lay it out
        parent.onLayoutChild(child, layoutDirection);

        updateFabTranslationForBottomNavigationBar(parent, child, null);

        return super.onLayoutChild(parent, child, layoutDirection);
    }
Class description

@author ashokvarma
@version 1.0
@since 06 Jun 2016
common/src/main/java/com/sxjs/common/widget/bottomnavigation/behaviour/BottomNavBarFabBehaviour.java