Skip to main content

How to use Floating Action Button Component In Kodular ?

 

How to use Floating Action Button Component In Kodular ?

So, today we are back again with our new fresh Tutorial on "How to use Floating Action Button Component In Kodular ?". Hope you will surely enjoy this tutorial, here we start our tutorial without wasting any more time....

How to use Floating Action Button Component In Kodular ?

1.What is floating action button?

Floating action button is a button in android development which is always floating on the screen of device.This button is used in android development usually for carrying out any action by user's command and hence this is called Floating action button or FAB in short.We are also given a component to use floating action button in Kodular with the help of a component also named as Floating action Button.We are also provided many options in this component so that, we are able to use this button as many action button.

2.Why we should use Floating action Button?

We should use Floating action Button because.....
1. It is always a attention Catching for user.
2. Makes app easy to use for user.
3. Improves UI and UX of our application.
4. Perfect for options like fullscreen,download etc.

3.How to add Floating action Button to our Kodular project?

Step 1:Open Kodular Creator's Website and open the project in which you want to add floating action button.

Step 2:Look for floating action button component under User Interface and drag and drop it to your project.

OR

Search for floating action button in the search box of the palette and you will find floating action button component.So, just drag and drop it to your project.

4. Properties of Floating action button:

1. Background Color:
It is used to set background color of Floating action button.

2. Elevation:
Sets the elevation of floating action button from Screen.

3. Icon:
Sets the icon for Floating action button.

4.Material Icon:
Sets the material icon to be placed on your FAB.

5.Margin Bottom:
This sets the distance of floating action button from bottom of screen.

6.Margin Right:
This sets the distance of floating action button from right side of screen.

7.Size:
Sets the size of floating action button.

You can check for advanced properties of FAB here

5. Main Blocks of floating action button:

1.Start Rotation Animation:

Block 1

To call FAB to start FAB rotation animation.

2.Show FAB:

Block 2
Makes FAB Visible to user.

4.Hide FAB:

Block 3
Makes FAB invisible to user.

5.When FAB long click:

Block 4
To perform a action when FAB is long clicked.

6.When FAB click:

Block 5
To perform a action when FAB is long clicked.

5. FAB rotate on click:

Block 6
To check or set FAB rotate on click true or false.

6. Rotation Duration:

Block 7
Sets the Duration or speed of rotation of FAB.

7.Rotation End Degrees:

Block 8
Sets the angle for end of rotation of FAB.

8.Rotation Start Degree:

Block 9
Sets the angle for start of rotation of FAB.

So, these were the main blocks for FAB. We will also be learning to use it's more properties in our next tutorials.Till then.....

                                            
Happy Koding.......

Comments

Popular posts from this blog

How to use Blocks in Text section in Kodular Creator?

How to use Blocks in Text section in Kodular Creator?  Guys welcome back to Learn Web Online, Today as you have seen we will be learning about using the main text related blocks. These text blocks are very useful while making your android application. We can edit, trim, join etc. text using the blocks which we will be talking about. The blocks which we will be learning to use today can be found under the built in components 'Text'. So, open your project to get live results to try these blocks your own. Here we start our tutorial without wasting time any more.... Blocks In text section Here, we have the main blocks which we are going to learn to use today's tutorial 1. Text Block: This block is used to denote a text string. This is the basic block which provide a text string in block section. We can use this block to give a text string to any other block. For example we can enter a text and set this text to a specific Label's text. 2. Join Text This block is used to join...

How to use Firebase database in Kodular?

Welcome to Learn Web my friends. Today we are going to learn about how to retrieve and store data from user in firebase database. This will be surely very exciting and useful for you guys. So, here we start our tutorial on "How to store data of user in Firebase in Kodular?" How to store data of user in Firebase in Kodular? 1. What is Firebase? I think you guys may have listened about Firebase but if not, then don't worry this isn't any rocket science you will easily learn "How to store and retrieve data of user in Firebase?". Firstly I want to tell you about What is Firebase Database? So, firebase is a cloud storage platform provided by google to store and retrieve data and Firebase also provide many other services that we will learn in our next tutorials. Today we are going to talk about "How to use Firebase Database in Kodular?"  2. What is Firebase database in Kodular? Now I would like to tell you what is Firebase database and what we are going ...

How to use Lottie Animations in Kodular Creator?

  Welcome back my friends, today we are back with our new tutorial. In today's tutorial we will be learning How to use Lottie Animations in Kodular? Before we start our tutorial we should discuss about the FAQ's related to Lottie in Kodular. So, here are the main FAQ's about Lottie animations Component in Kodular creator. FAQ's about Kodular Creator 1. What are Lottie animation Component? Lottie animation is a component provided in Kodular Creator. Simply we can say that Lottie animations is a components that allows us to show any animation from Lottie to use in our app. We can show any of animation listed on the website of Lottie files. We can search for thousands of animations there and then we get a json file which we can download and use in our app by uploading it in assets of our app. In this tutorial we are going to learn everything about how to use Lottie animations kodular creator. Now, I think you might have got what we are going to learn about. I assure that y...