I tried this sample and it was successful, but if edittext1 is moved to bottom then edittext1 is under the keyboard so it is not visible...
What do i need to add so that edittext1 can appear up the keyboard...?
Sub IME_HeightChanged (NewHeight As Int, OldHeight As Int)
B4XPages.GetManager.RaiseEvent(B4XPages.GetManager.GetTopPage, "IME_HeightChanged", Array(NewHeight, OldHeight))
Log("IME_HeightChanged: " & NewHeight)
End Sub
And in B4XMainPage add this:
B4X:
Private edittext1 As EditText 'in class globals or as B4XView
Sub IME_HeightChanged (NewHeight As Int, OldHeight As Int)
edittext1.Top = NewHeight-edittext1.Height-50dip
End Sub