Thanks For the reply Alexander,
I have a layout with three listviews that I want to position like so
when I create the list item with the sub
Private Sub CreateListItem(Text As String, Width As Int, Height As Int,Tag As Int) As B4XView
I pass the appropriate parameters.
In the above sub I have the 2 lines
Private Sub CreateListItem(Text As String, Width As Int, Height As Int,Tag As Int) As B4XView
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, Width, Height)
duration= 0 and left = 0 is fine but changing the top to any integer doesn't seem to change the location of the listview
Thanks again