I have tried to use IME library but when I add the statement:
I have this error:
B4X:
IME.AddHeightChangedEvent
I have this error:
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:4326)
at android.view.ViewGroup.addView(ViewGroup.java:4162)
at android.view.ViewGroup.addView(ViewGroup.java:4103)
at android.view.ViewGroup.addView(ViewGroup.java:4076)
at anywheresoftware.b4a.objects.IME.AddHeightChangedEvent(IME.java:119)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:753)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:343)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at uniplan.map.frmmainautista.afterFirstLayout(frmmainautista.java:102)
at uniplan.map.frmmainautista.access$000(frmmainautista.java:17)
at uniplan.map.frmmainautista$WaitForLayout.run(frmmainautista.java:80)
at android.os.Handler.handleCallback(Handler.java:743)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5665)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:822)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:712)