Hi All,
Can someone suggest how to have two layouts loaded in the same panel under scrollview?
What I want to achieve is loading 2 layout files (each contains panel --> that contains some buttons and labels) on a panel under each other, sure the command below show them on the same position so they appear over each other.
Thank you for your help!
Can someone suggest how to have two layouts loaded in the same panel under scrollview?
What I want to achieve is loading 2 layout files (each contains panel --> that contains some buttons and labels) on a panel under each other, sure the command below show them on the same position so they appear over each other.
Thank you for your help!
B4X:
Dim p As Panel
p.Initialize("")
p.SetLayout(0,30dip,100%x,210dip)
ScrollView1.Panel.AddView(p,0,0dip,100%x,210dip)
p.LoadLayout("view1")
p.LoadLayout("view2")