Changes

no edit summary
Line 6: Line 6:  
If the button is dragged over the trash can icon, the macro will be deactivated (set by default).
 
If the button is dragged over the trash can icon, the macro will be deactivated (set by default).
 
</pre>
 
</pre>
 +
 +
Please also see '''[https://macrodroidforum.com/wiki/index.php/Action:_Floating_Button_Configure Floating Button Configure action]'''
    
'''Configuration options'''
 
'''Configuration options'''
Line 11: Line 13:  
* Identifier
 
* Identifier
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<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 19:  
* Icon
 
* Icon
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<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 25:  
* Set background
 
* Set background
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<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 31:  
* Transparent background
 
* Transparent background
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<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 35: Line 37:  
* Padding
 
* Padding
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre border-radius: 10px; padding: 10px;">
 
Change a larger or smaller icon padding.
 
Change a larger or smaller icon padding.
 
</pre>
 
</pre>
Line 41: Line 43:  
* Opacity
 
* Opacity
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre border-radius: 10px; padding: 10px;">
 
Change the opacity, higher or lower.
 
Change the opacity, higher or lower.
 
</pre>
 
</pre>
Line 47: Line 49:  
* Normal or Small
 
* Normal or Small
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre border-radius: 10px; padding: 10px;">
 
Toggling between 2 different sizes of floating button.
 
Toggling between 2 different sizes of floating button.
 
</pre>
 
</pre>
   −
* Disable macro on remove
+
* Disable macro/trigger on remove
 +
 
 +
<pre border-radius: 10px; padding: 10px;">
 +
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).
   −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
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.
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").
  −
</pre>
  −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
  −
An alternative option is to deactivate the trigger by removing the floating button.
   
</pre>
 
</pre>
* ''''' You are interested in  ''''' '''''[https://macrodroidforum.com/wiki/index.php/Action:_Floating_Button_Configure Set floating button action]'''''
      
* Force location when enabled
 
* Force location when enabled
   −
<pre style="background-color: #ACC8E5; color: #112A46; 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 in the centre of the screen.
+
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.
Now supports using magic text to define the location when enabled (needs an integer variable).
+
 
 +
You can use magic text to define the location when enabled (use a numerical variable).
 
</pre>
 
</pre>