I want to make my own custom title bar (with icons, text, color etc.) and I need to have drawer.
I have already done it in multi activity logic. Now trying same in B4XPages.
I found
www.b4x.com
and
www.b4x.com
So I removed title from B4XPages example "[B4X] B4XPages + B4XDrawer" example
www.b4x.com
But it is giving error,
Libraries shows latest
Need help here.
Regards,
Anand
I have already done it in multi activity logic. Now trying same in B4XPages.
I found
B4XPages - hide title bar?
This new feature is great and should help advance cross platform development with b4x even further. In looking it over, I was wondering if there is a way to hide the title bar?
[ B4X Pages ] How can i alignt center title text ?
hello everyone !! i am trying to align title bar text to center horizontally , but dont works ... :c code : Dim cs As CSBuilder cs.Initialize.Alignment("ALIGN_CENTER").Append("Menu Saúde").PopAll B4XPages.SetTitle(Me,cs)
So I removed title from B4XPages example "[B4X] B4XPages + B4XDrawer" example
[B4X] B4XPages + B4XDrawer
B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using B4XDrawer. It does require some configuration so pay attention. The example is based on the three pages example...
But it is giving error,
B4X:
Logger connected to: 2360e066
--------- beginning of crash
--------- beginning of system
--------- beginning of main
Copying updated assets files (13)
*** Service (starter) Create ***
** Service (starter) Start **~i:** Activity (main) Create, isFirst = true **
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.~i:** Activity (main) Resume **
Error occurred on line: 15 (B4XPages)
java.lang.RuntimeException: Object should first be initialized (JavaObject).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
at anywheresoftware.b4j.object.JavaObject.getCurrentClass(JavaObject.java:259)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:119)
at b4a.example.b4xpage2$ResumableSub_B4XPage_Appear.resume(b4xpage2.java:105)
at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:48)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resume(DebugResumableSub.java:43)
at anywheresoftware.b4a.keywords.Common$13.run(Common.java:1704)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5235)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
** Activity (main) Pause event (activity is not paused). **
Libraries shows latest
Need help here.
Regards,
Anand