at anywheresoftware.b4a.objects.ViewWrapper.SetLayout(ViewWrapper.java:284)
at com.transmis.tt._activity_create(tt.java:1640)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
at com.transmis.tt.afterFirstLayout(tt.java:98)
at com.transmis.tt.access$100(tt.java:16)
at com.transmis.tt$WaitForLayout.run(tt.java:76)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
The error came from a simple line
Label96.SetLayout (55% x, y 251%, 14% x, 35dip)
I single quotes a few lines in the beginning
'lbl1.SetLayout (25% x 3% Y, 55% x, 30dip)
'Label1.SetLayout (2% x, y 9%, 25% x, 30dip)
'Lblontwepbin.SetLayout (10% x, y 9%, 25% x, 30dip)
'Label2.SetLayout (12% x, y 9%, 25% x, 30dip)
and the error was gone.
And when I removed the single quotes, everything was okay again
Strange?