anchor

val anchor: Int

Parameters

anchor

The floating button anchor gravity on the screen. This will change the button position by anchoring it to the screen following the given gravity. Default is Gravity.BOTTOM | Gravity.START (button shows on bottom left part of the screen).