Hello,
I'd really like to use this library - but i got these mistakes when i include the seekbar as customview in the layout:
the error message is:
Anyone has an idea whats going on ?
Help very much appreciated,
Chris
I'd really like to use this library - but i got these mistakes when i include the seekbar as customview in the layout:
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim seek As BubbleSeekbar
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Layout")
' seek.Initialize("seek")
seek.Config(0,7,0 ,7, Colors.Yellow , Colors.RGB(0,255,239),Colors.RGB(255,255,239), Colors.RGB(99,26,0), False , Colors.Transparent,18, True , Colors.White,18,Colors.Black,18, False , True , True,0)
Activity.AddView(seek,0,300dip,290dip,30dip)
End Sub
the error message is:
B4X:
... 12 more
--------- beginning of system
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 349)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at b4a.example.main._activity_create(main.java:349)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
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:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6823)
Anyone has an idea whats going on ?
Help very much appreciated,
Chris