SetTabCount(count As Int) Set tab count at runtime.
Count must be either 5 or 3
Note: You can't change the tab count to 3 if your selected tab id is 4 or 5
@asales , for clarity, the tabcount is indeed 5, so I don't have a problem with that. I just want to ensure that during runtime I can hide or show the while component in my app.
This is usually done with a visible property which can either be True / False to show / hide the component.
The reason I'm asking is, by default, the "middle" button is set as active when one puts the wobble menu on the layout. I have different wobble menus on my layouts and was wondering if for example, one could be able to set a default button on the property bag for example, tab 1 is default on the first layout, tab 4 is default on another layout, this being done without having to fire an event.
For now its not possible by default. Though you can do that by editing the bas file inside the b4xlib. Change the mbase variable type from private to public. And from you code you can hide the view by wobblemenu.mbase.visible = false
The reason I'm asking is, by default, the "middle" button is set as active when one puts the wobble menu on the layout. I have different wobble menus on my layouts and was wondering if for example, one could be able to set a default button on the property bag for example, tab 1 is default on the first layout, tab 4 is default on another layout, this being done without having to fire an event.
Yes its possible. But that will change the actual look/view/style of the menu. Starting the app with an active tab other than the middle one won't look good. This feature has also been requested by some members in the past. I will try to add these two things today or by tomorrow.
No its not possible. As some part of the menu is not actually a curved view but generated canvas image. So maintaining gradient in every element is not possible.
i can't recreate and display the 3 layouts (contains clv) when i click wobblemenu tabs using AHViewPager and AHPageContainer. i reviewed all the posts about ViewPager and PageContainer.
who can help me and save my time with an B4XPages example.
i can't recreate and display the 3 layouts (contains clv) when i click wobblemenu tabs using AHViewPager and AHPageContainer. i reviewed all the posts about ViewPager and PageContainer.
who can help me and save my time with an B4XPages example.
Hi everyone, This is a B4X compatible bottom navigation. It has 4 types of tab changing animation and 3 types of icon revealing animation. WobbleMenu Author: @Biswajit Version: 1.5 Dependency: JavaObject, BitmapCreator, XUI WobbleMenu Functions: GetCurrentTab As Int Get the current tab id...
Of course i checked it before.. I have 3 tabs search, home and cart
All pages and layouts loaded in b4xpage create event.
And home is the main page. So when i click on search tab by wobblemenu tab event i can see search page .. But when i return to home i see a blank page..