Difference between revisions of "Trigger: Floating Button"
Line 11: | Line 11: | ||
* Identifier | * Identifier | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
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. | 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. | ||
</pre> | </pre> | ||
Line 17: | Line 17: | ||
* Icon | * Icon | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
It allows you to use installed application icons, user icons (own images), macrodroid icons, as well as notification and material design. | It allows you to use installed application icons, user icons (own images), macrodroid icons, as well as notification and material design. | ||
</pre> | </pre> | ||
Line 23: | Line 23: | ||
* Set background | * Set background | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
Use a background color below the icon. | Use a background color below the icon. | ||
</pre> | </pre> | ||
Line 29: | Line 29: | ||
* Transparent background | * Transparent background | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
Show the floating button without a background color. | Show the floating button without a background color. | ||
</pre> | </pre> | ||
Line 41: | Line 41: | ||
* Opacity | * Opacity | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
Change the opacity, higher or lower. | Change the opacity, higher or lower. | ||
</pre> | </pre> | ||
Line 47: | Line 47: | ||
* Normal or Small | * Normal or Small | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
Toggling between 2 different sizes of floating button. | Toggling between 2 different sizes of floating button. | ||
</pre> | </pre> | ||
Line 53: | Line 53: | ||
* Disable macro on remove | * Disable macro on remove | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
This is the default option for the hover button when you drag the hover button to the recycle bin | This is the default option for the hover button when you drag the hover button to the recycle bin | ||
(it will appear when you start dragging the button) | (it will appear when you start dragging the button) | ||
Line 59: | Line 59: | ||
(it can be re-enabled manually or with the "set floating button action"). | (it can be re-enabled manually or with the "set floating button action"). | ||
</pre> | </pre> | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
An alternative option is to deactivate the trigger by removing the floating button. | An alternative option is to deactivate the trigger by removing the floating button. | ||
</pre> | </pre> | ||
Line 66: | Line 66: | ||
* Force location when enabled | * Force location when enabled | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
Whenever this box is checked the floating button will appear at the specified coordinates, otherwise it will appear in the centre of the screen. | Whenever this box is checked the floating button will appear at the specified coordinates, otherwise it will appear in the centre of the screen. | ||
Now supports using magic text to define the location when enabled (needs an integer variable). | Now supports using magic text to define the location when enabled (needs an integer variable). | ||
</pre> | </pre> |
Revision as of 13:14, 13 June 2024
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).
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 on remove
This is the default option for the hover button when you drag the hover button to the recycle bin (it will appear when you start dragging the button) you can also toggle it by simply deactivating the toggle (it can be re-enabled manually or with the "set floating button action").
An alternative option is to deactivate the trigger by removing the floating button.
- You are interested in Set floating button action
- Force location when enabled
Whenever this box is checked the floating button will appear at the specified coordinates, otherwise it will appear in the centre of the screen. Now supports using magic text to define the location when enabled (needs an integer variable).