B4A Library [Moved] WobbleMenu

alireza1238

Member
hi i like this tanks for share
just i have one question
i finish my app and my app have 3 activity how can i add this menu to my app for chance activity
activity 1 for shop next for check order and next for about
please send example I'm amatur
tanks men
 

takhs123

Member
hi i like this tanks for share
just i have one question
i finish my app and my app have 3 activity how can i add this menu to my app for chance activity
activity 1 for shop next for check order and next for about
please send example I'm amatur
tanks men
Try this example: http://www.mediafire.com/file/9x4gf5drt2a1xcz/wobbleMenu.zip/file
But I recommend you to use Panels instead of activitys. Because the animation of Wooble menu doesnt seem right like this.
 

MarcoRome

Expert
Licensed User
Longtime User
@Brandsum
  1. Can you increase or reduce the number of tabs/icons

Thank you @Brandsum for this excellent library.
I made some changes so that the icons can be from 2 to 6

1587720384149.png


1587720426484.png
1587720438232.png



In attachment Rel. 1.40
 

Attachments

  • WobbleMenu.b4xlib
    4.6 KB · Views: 353
Last edited:

Brandsum

Well-Known Member
Licensed User
How to set enabled by code
Sorry currently there is no option to do that. You can open the b4xlib file and edit the bas file. Set mBase to public and change enable state like
B4X:
wMenu.mBase.Enabled = false
 

MarcoRome

Expert
Licensed User
Longtime User
Good. But does it look good when the app starts?
I think adding an odd number of icons and starting the app with the center icon as active will look good.

Added the ability to let the user choose which tabs should have the initial focus. So he can choose what to do

1587829427918.png


In attachment Rel. 1.41
 

Attachments

  • WobbleMenu.b4xlib
    4.6 KB · Views: 316

hmagday

Member
When you press or click the default focus tab, let say i have 5 tabs and the default focus tab is 3, when you click tab 3 its not working... unless you press other tab and you go back to tab 3, is it possible to execute the sub (code) of the default focus tab when i click it?
 
Last edited:

MarcoRome

Expert
Licensed User
Longtime User
When you press or click the default focus tab, let say i have 5 tabs and the default focus tab is 3, when you click tab 3 its not working... unless you press other tab and you go back to tab 3, is it possible to execute the sub (code) of the default focus tab when i click it?

If you open Activity with focus on tab3 add this code in activity create
B4X:
WobbleMenu1_Tab3Click
 

Rachbob

Member
Licensed User
sweet menue but :
1. the mouvement it not really smooth.
2. when i replace acons with text ( 2 words ) the scale went wrong.

i guess if we could put it on the side like a slide menue ?

great job..
 

Biswajit

Active Member
Licensed User
Longtime User
Hi @Brandsum

Thanks for this great library.

I know this has been asked before but will you be adding text underneat the icons in a future release?

Thanks
I'm working on another library. Will try to add requested features and update this library. This is my new account. I will inform when its done.
 
Top