Sub pg_KeyboardStateChanged (Height As Float)
' // https://www.b4x.com/android/forum/threads/xcustomlistview-doesnt-have-the-method-calcrelativekeyboardheight.112175/#post-699655
Dim p As View = clvSettings.AsView.Parent.Parent
Dim rel As Int = p.CalcRelativeKeyboardHeight(Height)
If rel = 0 Then rel = clvSettings.AsView.Height
clvSettings.sv.Height = Min(rel, clvSettings.AsView.Height)
End Sub