I have problems loading data inside a panel designed in the designer with elevation 2, when loading a layout from code disappears the panel frame and elevation.
Your help is appreciated.
B4X:
Sub spMovimiento_ItemClick (Position As Int, Value As Object)
PanelLoadLayout.RemoveAllViews
If Value == "Instalación" Then
PanelLoadLayout.LoadLayout("LayoutInstalacion")
spCodGPS.Clear
CargaDatosGpsInst
End If
If Value == "Cambio" Or Value == "Revisión" Or Value == "Retiro" Then
PanelLoadLayout.LoadLayout("LayoutCambio")
End If
If Value == "Seleccionar" Then
PanelLoadLayout.RemoveAllViews
End If
End Sub
Your help is appreciated.