@VincentJoshuaET: Use an Overlay where the width and height are both set to match_parent so it covers the entire screen.
The Overlay will show when the ExpandableFab is opened, and by default when the Overlay is clicked it will automatically close the ExpandableFab.
You can also change the color of the Overlay to make it completely transparent so users won't even notice when it appears after the ExpandableFab is opened. And if you have any other Views below the Overlay, the clicks on the Overlay can still be propagated to those Views after it's finished closing the ExpandableFab.
@VincentJoshuaET: Use an Overlay where the width and height are both set to
match_parent
so it covers the entire screen.The Overlay will show when the ExpandableFab is opened, and by default when the Overlay is clicked it will automatically close the ExpandableFab.
You can also change the color of the Overlay to make it completely transparent so users won't even notice when it appears after the ExpandableFab is opened. And if you have any other Views below the Overlay, the clicks on the Overlay can still be propagated to those Views after it's finished closing the ExpandableFab.