Hi, I am trying to get the status of the Keyboard, whether it is showed or not through code. Is there a way to get it done. I tried it through IME Library, but can't manage to get the status. Thank you ...
Hi, I solved it. Following is the code. Here my device height 1240 but NewHeight shows 1232. So I deduct it with 50 ...
B4X:
Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int)
' ToastMessageShow ("Device Height - " & GetDeviceLayoutValues.Height & ", New Height - " & NewHeight & ", Old - " & OldHeight, False)
If NewHeight > (GetDeviceLayoutValues.Height - 50) Then ' Keyboard Is Down
ToastMessageShow ("KeyBoard Down - " & NewHeight, False)
Else
ToastMessageShow ("KeyBoard Up - " & NewHeight, False)
End If
End Sub