Hello!
Trying to use the SLSpinner custom view, via designer, I take the following error, when trying to load layout:
Note that I'm using 3 other SLSpinners in my app, without this problem!
Trying to use the SLSpinner custom view, via designer, I take the following error, when trying to load layout:
B4X:
slspinner_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 (java line: 924)
java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:1061)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1040)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1007)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.InitializeMutable(CanvasWrapper.java:589)
at com.vf.rmmobi.slspinner._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0(slspinner.java:924)
at com.vf.rmmobi.slspinner._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(slspinner.java:1119)
at com.vf.rmmobi.slspinner._designercreateview(slspinner.java:215)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:67)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:158)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at anywheresoftware.b4a.objects.TabStripViewPager.LoadLayout(TabStripViewPager.java:116)
at com.vf.rmmobi.actworker._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(actworker.java:5015)
at com.vf.rmmobi.actworker._activity_create(actworker.java:716)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at com.vf.rmmobi.actworker.afterFirstLayout(actworker.java:114)
at com.vf.rmmobi.actworker.access$000(actworker.java:29)
at com.vf.rmmobi.actworker$WaitForLayout.run(actworker.java:92)
at android.os.Handler.handleCallback(Handler.java:761)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)