Toolbar
Utility module for controlling the floating Android Macro toolbar from Lua.
Toolbar:isAvailable()
Check whether the floating toolbar service is available.
Toolbar:isVisible()
Check whether the toolbar is currently visible on screen.
Toolbar:show()
Show the floating toolbar.
Toolbar:hide()
Hide the floating toolbar.
Toolbar:setPosition()
Move the floating toolbar to a specific screen position.
Toolbar:setScale()
Set the toolbar scale factor.
Toolbar:getScale()
Get the current toolbar scale factor.
Toolbar:setOpacity()
Set the toolbar opacity.
Toolbar:getOpacity()
Get the current toolbar opacity.
Toolbar:setSnap()
Enable or disable edge snap mode for the toolbar.
Toolbar:setCollapse()
Enable or disable collapsed circle mode for the toolbar.
Toolbar:isSnapped()
Check whether the toolbar is currently in a snapped state.