{>> Non-Visible component<<}
Category | Requires | Version |
---|---|---|
User Interface | API 21, Android 5.0 Lollipop | 2 |
A non-visible component that is used to create Floating Action Buttons.
Floating Action Buttons are used to indicate the primary action of the screen.
Event to detect that the fab button was clicked.
Event to detect that the fab button was long clicked.
Hides the fab button.
Hides text message.
Shows the fab button.
Show a new text message near to the fab with the given properties. You can do the changes with the properties in the advanded category.
Starts a rotation animation. You can use the 'Rotation Duration','Rotation Start Degrees' and 'Rotation End Degrees' to define the animation. This block will work too if the 'Rotation On Click' property is disabled.
Color Default: #2196F2FF ➖ Read Write - Designer Blocks
Returns the fab's background color.
Available as ^^Advanced^^ Property
Boolean Default: False ➖ Read Write - Designer Blocks
If true the FAB click listener will be invoked on a text message click.
Available as ^^Advanced^^ Property
Boolean Default: False ➖ Read Write - Designer Blocks
If true the FAB long click listener will be invoked on a text message long click.
Number Default: 10 ➖ Read Write - Designer Blocks
Property for Elevation
Available as ^^Advanced^^ Property
Boolean Default: True ➖ Read Write - Designer Blocks
Hide the text message when clicking on the message
Available as ^^Advanced^^ Property
Boolean Default: True ➖ Read Write - Designer Blocks
Hide the text message after a long click on the text message.
Text ➖ Read Write - Designer Blocks
The path for the used image in FAB.
Color Default: #FFFFFFFF ➖ Read Write - Designer Blocks
The color for the material icon.
Available as ^^Advanced^^ Property
Color Default: #444444FF ➖ Read Write - Designer Blocks
Set the text message background color.
Available as ^^Advanced^^ Property
Number Default: 8 ➖ Read Write - Designer Blocks
Set the text message corner radius.
Available as ^^Advanced^^ Property
Text ➖ Read Write - Designer Blocks
Set the text message.
Available as ^^Advanced^^ Property
Color Default: #FFFFFFFF ➖ Read Write - Designer Blocks
Set the text message color.
Number Default: 16 ➖ Read Write - Designer Blocks
Returns the fab's bottom margin.
Number Default: 16 ➖ Read Write - Designer Blocks
Returns right margin
Text Default: add ➖ Read Write - Designer Blocks
Use a 'Material' icon for the fab without uploading a image resource into your project. You can find the icon name here at https://material.io/resources/icons
Available as ^^Advanced^^ Property
Color Default: #FFFFFFFF ➖ Read Write - Designer Blocks
Returns the fab's ripple color.
Available as ^^Advanced^^ Property
Boolean Default: True ➖ Read Write - Designer Blocks
Returns true if the fab will rotate on click.
Available as ^^Advanced^^ Property
Number Default: 300 ➖ Read Write - Designer Blocks
Returns the fab's rotation duration in milliseconds.
Available as ^^Advanced^^ Property
Number Default: 360 ➖ Read Write - Designer Blocks
Returns the fab's rotation end degrees.
Available as ^^Advanced^^ Property
Number Default: 0 ➖ Read Write - Designer Blocks
Returns the fab's rotation start degrees.
Available as ^^Advanced^^ Property
Boolean Default: True ➖ Read Write - Designer Blocks
Set the text message to the left side of the floating button. If false the text will be on the right side.
Number Default: 1 ➖ Read Write - Designer Blocks
Sets the size of the button. Use '1' for normal, '2' for mini or '3' for auto size based on the screen size.
Boolean Default: True ➖ Read Write - Designer Blocks
Returns true if the fab button is visible.