I have a CustomListView in which I load a panel that contains a larger number of inputs (B4XComboBox, B4XFloatTextField and an Button for submit).
The height of the panel exceeds the height of the screen, scrolling is required. What is the correct approach in this case for the inputs that are at the bottom of the panel because the keyboard overlaps them when editing? I tried to make the panel longer with the height of the keyboard but I don't think it's a very good / optimal idea.
Thank you!
Sub Globals
Private clvAdaugaLucrare As CustomListView
Dim keyboard As IME
Dim px As B4XView
End Sub
Sub keyboard_HeightChanged(NewHeight As Int, OldHeight As Int)
px = clvAdaugaLucrare.GetPanel(0)
If NewHeight > OldHeight Then
px.SetLayoutAnimated(0,0,0,Activity.Width, 480dip + NewHeight)
End If
End Sub
but opening the keyboard (focus in an edittext) does not reach the keyboard_HeightChanged