Hello all,
Anyone knows what's the best solution to put some layout with size variable on CustomListView?
My scenario:
I have a layout with one image, and this image is resizable according with width of screen, so, this image grow to keep square depending of width:
and I dont want to show this space on CustomListView between on row and another
the problem is this iHeight related below:
What's the best option to calculate the height of this new panel with this layout?
Thanks in advance
Anyone knows what's the best solution to put some layout with size variable on CustomListView?
My scenario:
I have a layout with one image, and this image is resizable according with width of screen, so, this image grow to keep square depending of width:
and I dont want to show this space on CustomListView between on row and another
the problem is this iHeight related below:
What's the best option to calculate the height of this new panel with this layout?
B4X:
Dim p As Panel = xui.CreatePanel("")
p.Initialize("")
p.SetLayoutAnimated( 0, 0, 0, pCLV.AsView.Width, iHeight)
pCLV.Add(p, "")
p.LoadLayout(strLayout)
Thanks in advance