B4A Library [B4X][XUI] WobbleMenu - a cross platform animated bottom navigation

Biswajit

Active Member
Licensed User
Longtime User
I'll post an example.
 

RogerGCollin

Member
Licensed User
Hi, I would also be interested to see an example of the menu being used with B4XPages. Or even with Panes. I am new to B4X and I think your WobbleMenu looks amazing, I just do not know how to use it to switch to different pages or panes. A simple example would be great!
 

Biswajit

Active Member
Licensed User
Longtime User
Ok will post soon.
 

Biswajit

Active Member
Licensed User
Longtime User
How can WobbleMenu be used with B4XPages?
Sorry for the late. I'm very busy these days.

I have uploaded an example with B4XPage and ViewPager. Check the first post.
 

Sergey_New

Well-Known Member
Licensed User
Longtime User
have uploaded an example with B4XPage and ViewPager. Check the first post.
Compilation error:
B4X:
Error
-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------
  Ќ з «®: 3 бҐвпЎап 2020 Ј. 20:55:21
    €бв®зЁЄ : C:\Users\D899~1\DOWNLO~1\Shared Files\
  Ќ § 票Ґ : C:\Users\D899~1\DOWNLO~1\B4A\Files\
     ” ©«л: *.*
        
 Џ а ¬Ґвал: *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
2020/09/03 20:55:21 Ћ€ЃЉЂ 2 (0x00000002) „®бвгЇ Є Ёб室®© Ї ЇЄҐ C:\Users\D899~1\DOWNLO~1\Shared Files\
ЌҐ г¤ Ґвбп  ©вЁ гЄ § л© д ©«.
 

Biswajit

Active Member
Licensed User
Longtime User
My bad. I have uploaded the correct zip file. Please download again.
 
Last edited:

Biswajit

Active Member
Licensed User
Longtime User
How do you change the menu position to be at the top?
Its a bottom navigation. You cant place it at the top. Will try to add support for that in next version.
 
Last edited:

Biswajit

Active Member
Licensed User
Longtime User
Thanks, it worked!
Tell me, can you do without AHViewPager?
That is an example of how you can show multiple panels on a single page with bottom navigation. Now it's upto you what you gonna use for showing multiple panels.

you can use other viewpager libraries, horizontal scrollview, even without all these you can show multiple panels by changing the visibility on the menu item click. Take the basic idea from the example and implement your own (if you don't want to use other libraries)
 

Sergey_New

Well-Known Member
Licensed User
Longtime User
It is clear, but I would like to use B4XPages instead of panels...
 

Biswajit

Active Member
Licensed User
Longtime User
It is clear, but I would like to use B4XPages instead of panels...
B4Xpage is not a panel. Its just a cross platform class which handles activity (for android) and page (for ios) events without the need of writing different code. This can't be used with any kind of bottom navigation. In simple words, each activity is a new window that opens one above another. That's why you cant show a fixed view (bottom navigation) between two activities.

Check this thread for better understanding,
 

Biswajit

Active Member
Licensed User
Longtime User

Sergey_New

Well-Known Member
Licensed User
Longtime User
Understood thanks!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…