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

Kodular Basics- Getting started with Kodular

What Is Kodular? Kodular is a online software which allows us to make android apps without any programming knowledge. Kodular's enable us to make fantastic android apps using their blocks-type editor.We can make our apps stand out with the material design UI. Using Kodular we can make android apps just by dragging and dropping components provided in Kodular Creator.We also need not to write any code to make our app working. We just have to specify blocks in kodular creator and we are out of the tension to write Codes. Getting Started With Kodular :   For making apps you just need to go to Kodular's Creator and sign up there with your email and activate your account.You can create Kodular account and make apps for free. There aren't any charges to use Kodular Creator. So just go Kodular.io and sign up there and start happy coding and app making.  Kodular Dashboard: After you have signed up for Kodular creator,select the option "Create Apps" and you will be redirect...

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 Youtube Player in Kodular Creator?

  Welcome guys, today we are back again with our Today's tutorial on "How to use Youtube Player in Kodular Creator?". Now, let's directly start our tutorial without wasting any more time in Talking... How to use Youtube Player in Kodular Creator? 1. What is Youtube Player? Youtube Player is a component given in Kodular creator which we can implement in our app for free. This component enables us to play any video uploaded on youtube in our app.For playing any Video we only need the video ID of that youtube video which is found in the url of the video. This is like a video player in which we can play and control any youtube video without opening URL of video in Webview and which improve our app UI and UX. 2. Why Youtube Video Player? We use Youtube video player because of many benefits some of them are described as below: 1. To show any tutorial for our app. 2. Can control our app better. 3. This is a UX improving Component. 4. No need to get specific server if we need...