I can\'t hide my FloatingActionButton. Here is my code:
FloatingActionButton
XML:
FloatingActionButton layers = (FloatingActionButton) findViewById(R.id.layers); layers.hide();
It works for me, setVisibility doesn't work for FloatingActionButton as it belongs to another viewGroup that doesn't have setVisibility method.
setVisibility
viewGroup