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

Biswajit

Active Member
Licensed User
Longtime User
Hi. I would like to know if it is possible to change the font size at runtime, is it possible?
Currently, that's not possible.
 

Biswajit

Active Member
Licensed User
Longtime User
Good morning, everyone! I'm new to B4x, and I'm having trouble using the "WobbleMenu1_Tab1Click" with a layout, please help me how to do it. Thank you !
Could you please explain the issue you are facing?
 

Biswajit

Active Member
Licensed User
Longtime User
Inside the WobbleMenu1_Tab1Click sub call StartActivity(Your-Activity-Name).
For more details check these tutorials, https://www.b4x.com/etp.html
 

Rubsanpe

Active Member
Licensed User
Hi. Im having errors with samples compilation:

B4X:
Error occurred on line: 94 (WobbleMenu)
java.lang.NumberFormatException: For input string: "null"
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
    at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
    at java.lang.Double.parseDouble(Double.java:538)
    at anywheresoftware.b4a.BA.ObjectToNumber(BA.java:684)
    at b4a.example.wobblemenu._designercreateview(wobblemenu.java:1095)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:61)
    at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
    at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
    at anywheresoftware.b4a.objects.B4XViewWrapper.LoadLayout(B4XViewWrapper.java:312)
    at b4a.example.b4xmainpage._b4xpage_created(b4xmainpage.java:58)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.debug.Debug.CallSub4(Debug.java:318)
    at anywheresoftware.b4a.debug.Debug.CallSubNew2(Debug.java:285)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.keywords.Common.CallSubDebug2(Common.java:1055)
    at b4a.example.b4xpagesmanager._createpageifneeded(b4xpagesmanager.java:1060)
    at b4a.example.b4xpagesmanager._showpage(b4xpagesmanager.java:417)
    at b4a.example.b4xpagesmanager._addpage(b4xpagesmanager.java:245)
    at b4a.example.b4xpagesmanager._addpageandcreate(b4xpagesmanager.java:259)
    at b4a.example.b4xpagesmanager._initialize(b4xpagesmanager.java:165)
    at b4a.example.main._activity_create(main.java:408)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    at b4a.example.main.afterFirstLayout(main.java:105)
    at b4a.example.main.access$000(main.java:17)
    at b4a.example.main$WaitForLayout.run(main.java:83)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:214)
    at android.app.ActivityThread.main(ActivityThread.java:7356)
    at java.lang.reflect.Method.invoke(Native Method)

Rubén
 

Biswajit

Active Member
Licensed User
Longtime User
This error is coming from the designer. Open the layout file and save the file from the designer again. Then try to compile.
 

Biswajit

Active Member
Licensed User
Longtime User
Can you please add the functionality to return the top position? I need to add a control directly on top of the wobble menu.

Thanks.
B4X:
Dim top as int = 100%y - wobblemenu1.GetHeight 'b4a
Dim top as int = Page1.RootPanel.Height - wobblemenu1.GetHeight 'b4i
 

Mashiane

Expert
Licensed User
Longtime User
Hi there

I seem to have a problem with the b4i example, i cannot run it, posted the issue here


Thanks
 

TILogistic

Expert
Licensed User
Longtime User
Hi, is it possible to create something like this purely in HTML for b4j webapp? Thanks.
You know that you can find these and other better ones on the web that are developed in javascripts and css,

Recognize this example:
 

Attachments

  • 1.gif
    188 KB · Views: 308

Biswajit

Active Member
Licensed User
Longtime User
Hi, is it possible to create something like this purely in HTML for b4j webapp? Thanks.
Yes. But as @oparra suggested there are many bottom bar plugins available on the internet.
 

Biswajit

Active Member
Licensed User
Longtime User

EduardoElias

Well-Known Member
Licensed User
Longtime User
I see there is a background band on the wooble menu. I have a color for the menu itself but the background (the half upper part) changing on the background to transparent does not cause change.... I want to have the wooble menu over a google maps (it is pure visual)

is it possible?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…