Difference between revisions of "Trigger: Floating Button"
Line 35: | Line 35: | ||
* Padding | * Padding | ||
− | <pre | + | <pre border-radius: 10px; padding: 10px;"> |
Change a larger or smaller icon padding. | Change a larger or smaller icon padding. | ||
</pre> | </pre> | ||
Line 56: | Line 56: | ||
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) | ||
− | you can also toggle it by simply deactivating the | + | you can also toggle it by simply deactivating the trigger |
(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> | ||
− | + | ||
− | + | Please see'''''[https://macrodroidforum.com/wiki/index.php/Action:_Floating_Button_Configure Set floating button action]''''' | |
− | |||
− | |||
* Force location when enabled | * Force location when enabled | ||
<pre border-radius: 10px; padding: 10px;"> | <pre border-radius: 10px; padding: 10px;"> | ||
− | Whenever this box is checked the floating button will appear at the specified coordinates, otherwise it will appear | + | 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). | ||
</pre> | </pre> |
Revision as of 13:18, 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 trigger (it can be re-enabled manually or with the "set floating button action").
Please seeSet 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 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).