Dim user As showtype
Dim lbtest As String
clv1.Clear
If userdata.showlist.Size>0 Then
Dim calc As Double
Dim str As String
For i=0 To userdata.showlist.Size-1
Dim p As B4XView = xui.CreatePanel("")
Dim width As Int = 100%x
Dim height As Int
user=userdata.showlist.Get(i)
If user.viewtype>2 And user.viewtype<6 Then
height = 25%y
p.SetLayoutAnimated(0, 0, 0, width, height)
p.Color=Colors.ARGB(255,39,116,124)
xGauges1.Initialize(Me,"xgauges")
xGauges1.AddToParent(p, 30dip, 0, GaugeWidth)
......