Skip to main content

How to add and use tabs layout in Kodular Creator Project?

 

How to add and use tabs layout in Kodular Creator Project?

# Happy Diwali

Firstly a very very Happy Diwali to all my readers. I wish you guys achieve great in your life and best wishes for this Diwali to you and your Family. Now we move to our topic on ' How to use tabs layout in Kodular Creator? ' Here firstly we would talk about some of FAQ's regarding Tabs Layout.

FAQ's about Tabs Layout:

1. What is actually Tab Layout?

If you didn't understood what do I mean by Tab Layout here inn this tutorial, then I am going to describe about Tab Layout. I would tell you about a example of Tab Layout which you may have used. You may have seen the tabs written 'Chats', 'Status' and 'Contact' in whatsapp. Our component of Tabs Layout is just like this. Here we can add a layout with a number of tabs which can be switched by clicking on them. They are used to carry out any action when anyone of them is clicked. You you didn't got how to use this then don't worry I will let you know how to use this tab layout during our tutorial.

2. Benefits and Uses of Tab Layout

If you are thinking what could be the benefits of using Tab Layout in our app, then I would like to tell the main benefits of using tab layout. The first benefit of using Tabs Layout is that it is user friendly and let your users to reach all of functions in your app without getting lost in your app. We can say that it provide you the best method to make your app user friendly. This also improve the overall experience of user throughout your app. So, this improve UI and UX of your app. You can use this layout in News app or any other app to manage different categories.

So, this was all about the FAQ's which could arise in your mind regarding Tabs Layout. Now, we are ready to move  towards our tutorial. And here we start our tutorial on how to use tab layout in Kodular Creator.

How to add Tab Layout in Kodular Creator project?


To add Tab layout in your project you need to follow these steps:

Step 1: Open the project in which you want to add Tab Layout.

Step 2: Click on Navigation Section under the layout option.

Where is tabs layout in Kodular Creator?



Step 3: Find Tab layout in the components that you can see there.

Step 4: Now Drag and drop this component to your project.

And here you have successfully implemented Tab Layout component to your project.

Properties of Tab Layout

1. Width:
This option is used to set the width of the Tab Layout.

2. Tab active color:
This options let you to choose the color of tab that is active currently.

3. Tabs Background color:
This option sets the background color of the Tab Layout.

4. Tabs Indicator Color:
This options sets the color of indication of tabs in Tab layout.

5. Tabs Mode:
This option allow you to set whether you would like to keep your tabs scrollable or Fixed. This is useful when you have a large number of items inn your tab layout.

6. Tabs Text Color:
This option allow you to choose the desired color which you would like to use as your tabs text color.

7. Visible:
This option sets whether you would like to set the tab layout visible or invisible when screen initialise.

Main functions of Tab Layout

Now we are going to talk about the main functions or the main block's function of the Tab Layout Component. Here is our first Block or Function regarding 'How to use Tab layout in Kodular'

1. Add item (Without Considering Position )

Kodular Tab Layout Block no. 1

This Block's function is to add a new tab to Tab Layout without considering the position that means the new tab will be placed after the previously added tabs. Here you can set the text to be shown for the new tab by providing text for title option. You can also add icon with the option of icon by providing name of icon in your assets in text block.

2. Add item (With Considering Position )

Kodular Tab Layout Block no. 2

This Block's function is to add a new tab to Tab Layout with the position you want in form of number. Here you can set the text to be shown for the new tab by providing text for title option. You can also add icon with the option of icon by providing name of icon in your assets in text block. You can set the tab at position by providing the position of tab in form of number.

3. When Tab item selected

Kodular Tab Layout Block no. 3

This block's function is to detect when a tab item is selected or clicked. This option gives the name of item selected by the variable 'tab' and position of item selected by variable 'position'. You can specify any action when any tab is selected by arranging blocks such like that...

Kodular Tab Layout Block no. 4

So, by this method you can check which tab is selected then carry out any action by this. 

Guys this was all for Tab Layout option and we will be back again with a more interesting topic until then......

Happy Diwali and Koding....

Comments

Popular posts from this blog

How to use dynamic component in Kodular Creator ?

How to use dynamic components in Kodular Creator? Welcome back my dear friends, today we are back again with a complete new tutorial. Today we are going to learn How to use Dynamic components in Kodular Creator? As of all our tutorials I assure you you will find this tutorial very useful while developing any of you application which the no. of components are not fixed. So, we use dynamic components to add as much as number of components as we want. So, here we start our tutorial with some of FAQ's that will help you to learn what is concept of dynamic components if you didn't understood "What does dynamic components mean?"  FAQ's about Dynamic components 1. What are dynamic components? Dynamic components are the components which allows us to show as much as number of components in our application as we want. So, that we need not to update app to add any component in our application. This is useful when we are developing any application like Shopping application in

How to use Utilities component in Kodular Creator?

  How to use Utilities component in Kodular Creator? Welcome back guys to Learn webs online. As you may have seen in above image, in today's tutorial we will be going to learn to use the utilities components in Kodular Creator. These components will surely be useful for your future projects. In today tutorial we will learn to use these four utilities components. These are the main utilities components in kodular creator. There are also another utilities components which we will learn to use in further tutorials. So, let's start our tutorial without waiting any more..... 1. Wallpaper component Introduction: This component can be found at the last position in the utilities components under utilities option in sidebar. As you can understand by it's name this is used to access the wallpaper settings of user's device. This is very useful component while developing a app in which we allow user to change or modify wallpaper within the application. This app may be a browser app

How to use KIO4 gradient in Kodular?

  Welcome to learn web, today we are back with a completely new tutorial on Kodular Basic-to -Advanced app making.Today topic for our tutorial is that how to use Gradient effect in Kodular app making for any layout. How to use gradient colors in kodular app? For this you need to use a extension named "KIO4" gradient.So,before starting you need to get this extension before we start our tutorial.To get this click on link below: My Drive Link This is the google drive link for the KIO4 extension. I think you might have got the extension.So, we start our tutorial on how to use gradient effect Kodular apps. Step 1:Open your Project in which you want to use gradient Effect.Then click on the extensions button in the bottom of left sidebar and click on import extension.Now select the KIO4 gradient file and click on Import after some time your extension will be processed and imported to your project. Illustration: Once you have Imported the KIO4 extension you can see the extension as s