im trying to resize a webview to show a text field inside it while the keyboard is open but this code does not work.
Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int)
WebView1.Height=WebView1.Top-NewHeight
End Sub
also noticed that this code returns nothing to the logs
Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int)
Log(NewHeight)
Log(OldHeight)
End Sub
to avoid an obvious suggestion i have already added this to activity_create
ime.Initialize(Me)
ime.AddHeightChangedEvent
edit:
and i have already added this in manifest editor
SetActivityAttribute(Browser, android:windowSoftInputMode, adjustResize|stateHidden)