private boolean isBottomSheet(final View view) {
		final ViewGroup.LayoutParams params = view.getLayoutParams();
		return params instanceof CoordinatorLayout.LayoutParams
				&& ((CoordinatorLayout.LayoutParams) params).getBehavior() instanceof BottomSheetBehavior;
	}
Expand the default behavior of FloatingActionButton to support {@link BottomSheetBehavior}

Created by Oasis on 2016/6/24.
mobile/src/main/java/com/oasisfeng/island/util/FloatingActionButtonBehavior.java