Declare a class-level (Class_Globals) variable of type IME and use the HeightChanged event:
B4X:
Private IME1 As IME
B4X:
Private Sub IME1_HeightChanged (NewHeight As Int, OldHeight As Int)
If NewHeight = 0 Then Return ' If useful
Button1.Top = NewHeight - Button1.Height
End Sub
hmm it doesn't seems to work or maybe i'm doing something wrong...
I'm clicking into an edit text, the keyboard appears, but the button is not relocating above the keyboard..
hmm it doesn't seems to work or maybe i'm doing something wrong...
I'm clicking into an edit text, the keyboard appears, but the button is not relocating above the keyboard..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.