Trigger: Floating Button
This trigger will display a floating button on the screen that can be clicked to activate a macro. To show and hide the button, the macro must be activated or deactivated accordingly. If the button is dragged over the trash can icon, the macro will be deactivated (set by default).
Please also see Floating Button Configure action
Configuration options
- Identifier
It is an id that will serve you later when you use the "Configure floating button" action to identify the button that will be configured in the same macro or another macro.
- Icon
It allows you to use installed application icons, user icons (own images), macrodroid icons, as well as notification and material design.
- Set background
Use a background color below the icon.
- Transparent background
Show the floating button without a background color.
- Padding
Change a larger or smaller icon padding.
- Opacity
Change the opacity, higher or lower.
- Normal or Small
Toggling between 2 different sizes of floating button.
- Disable macro/trigger on remove
This allows you to define the desired behaviour when you drag the floating button to the recycle bin (it will appear when you start dragging the button). By default the entire macro will be disabled when dragging to the bin, but you can change the option to disable only the trigger if preferred.
- Force location when enabled
Whenever this box is checked the floating button will appear at the specified coordinates, otherwise it will appear at it's previous location when it was last hidden/removed. You can use magic text to define the location when enabled (use a numerical variable).