I have a class
public class ScrollAwareFABBehavior extends FloatingActionButton.Behavior { public ScrollAwareFABBehavior(Context context, AttributeSet attrs
For me i replace child.hide() with ((View)child).setVisibility(View.INVISIBLE).