Private ime As IME
Private rootx As B4XView
End Sub
Sub Activity_Create(FirstTime As Boolean)
ime.Initialize("ime")
rootx = xui.CreatePanel("")
Dim Content As Rect = ime.GetContentRect
Activity.AddView(rootx, Content.Left, Content.Top, Content.Width, Content.Height)
ime.UpdatePercentageReference(rootx.Width, rootx.Height)
rootx.LoadLayout("rex1")